go-v.orgcodex
Menu
Page tools

codex · Philosophy

Negative testing

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.

Wikipedia contributors, "Negative testing", Wikipedia, revision 1378188493, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex