Positive Effect of Negative Testing
Develop | Posted February 12, 2010

Many tests are positive: they check that an application accepts valid data and processes it correctly. A negative test checks whether the application handles improper user behavior correctly. For instance, a positive test would be to open the File | Save As dialog in a text editor, enter a valid file name and then confirm the file was saved successfully. A negative test would be to open the File | Save As dialog, enter an invalid file name or path and check whether the application handles this invalid input data properly. If a developer has not anticipated this situation, the application will crash. So, it's important to use both positive and negative testing approaches when testing your application.

We’ve published an article that discusses negative testing concepts, typical negative test cases and how negative tests can be created with TestComplete. Enjoy!

Negative Testing With TestComplete »

 

Close

By submitting this form, you agree to our
Terms of Use and Privacy Policy

Thanks for Subscribing

Keep an eye on your inbox for more great content.

Continue Reading

Add a little SmartBear to your life

Stay on top of your Software game with the latest developer tips, best practices and news, delivered straight to your inbox