What is Positive and Negative Testing?

Positive Testing:-

Positive testing is done to verify the known test conditions. It proves that product works as per the requirement and to check if the product is delivering the error when it is expected to give the error. In this testing the system is tested with valid inputs. This testing is aimed to show that the system works properly.So it is called as"test to pass". For ex test for a text box, the user requirement is like it should accept only the string inputs, we can test this as giving only string inputs.

Negative Testing:-

Negative testing is done to verify the unknown test conditions.Negative testing is testing the application with invalid or negative inputs. This testing is aimed to show that the system does not work with negative values. So it is called as "test to fail".It covers the scenarios for which the product is not designed and coded.Testing for behaviour that is contrary to expected behavior.For ex test for a text box, the user requirement is like it should accept only the string inputs, we can test this as giving only non-string inputs.


Comments

Popular posts from this blog

How to Build and Grow an Effective Email List in 2024?

What is Prototype Model?

What is State or Graph based Testing?