---
title: Negative testing
slug: negative-testing
qid: 
snapshot: enwiki-001378188493
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1378188493
tags: [11060667, 116690198, 130110808, 20346606, 23048553, 23118434, 23603337, 24043274, 24563115, 24745108, 24745121, 26083081, 26748027]
---

# Negative testing

> [!note] Provenance
> Snapshot `enwiki-001378188493` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1378188493> · Licensed CC BY-SA 4.0

Negative testing is a method of testing an application or system to improve the likelihood that an application works as intended/specified and can handle unexpected input and user behavior. Invalid data is inserted to compare the output against the given input. Negative testing is also known as failure testing or error path testing. When performing negative testing exceptions are expected. This shows that the application is able to handle improper user behavior. Users input values that do not work in the system to test its ability to handle incorrect values or system failure.

Negative testing is a method of testing an application or system to improve the likelihood that an application works as intended/specified and can handle unexpected input and user behavior. Invalid data is inserted to compare the output against the given input. Negative testing is also known as failure testing or error path testing. When performing negative testing exceptions are expected. This shows that the application is able to handle improper user behavior. Users input values that do not work in the system to test its ability to handle incorrect values or system failure. ==References==
