Positive Vs Negative testing

Testing a software means verifying and validating it. In testing tester need to check whether it is working as expected or not.

This can be done in two ways:

1.) Positing Testing
2.) Negative Testing

Positive testing is done on the system by providing the correct data as input. It checks whether the software is producing expected results with the positive input or not. This testing is done to check the software whether it is doing fine that it is supposed to do.

Negative Testing is done on the system by providing wrong data as input. It checks whether the software is producing expected results with the negative/wrong input. This testing is done to check the software that what it id doing when it is not supposed to do.

In both the testing, following elements are required to be focused:

  • Input data
  • Expected output / result
  • Real output / result

Techniques of  Positive and Negative Testing:

Mostly two types of technique are used for Positive and Negative Testing:

Boundary Value Analysis:

In this testing technique the test cases are designed to include boundary values in a range. If the input data is used within a range, then it is said to be Positive Testing. If the input data is used outside the boundary value range, then it is said to be Negative Testing.
Equivalence Partitioning:

In this software testing technique input test data is divided partitions and then each partition is tested. Valid value partition comes under positive testing whereas invalid partition comes under negative testing.
Testing results in delivering quality software application and ensuring that the software is bug free. For effective testing, one must do both – Positive and Negative testing .

ALL THE BEST!

top