Understanding Positive vs Negative Testing
Q: What is the difference between positive and negative testing?
- Types of testing
- Mid level question
Explore all the latest Types of testing interview questions and answers
ExploreMost Recent & up-to date
100% Actual interview focused
Create Types of testing interview for FREE!
Positive testing and negative testing are two types of testing used to evaluate the correctness and quality of software. Positive testing evaluates the system by providing valid input and then verifies that the system responds as expected, while negative testing evaluates the system by providing invalid input and then verifies that the system responds as expected.
Positive testing is also known as confirmatory testing, where the tester is trying to confirm that the software is working as designed. This type of testing involves providing valid input to the system and confirming that the results are as expected. For example, when testing a login system, a positive test would be to provide a valid username and password, and verify that the user is successfully logged in.
Negative testing is also known as error path testing, where the tester is trying to break the system by providing invalid input and verifying that the system responds as expected. For example, when testing a login system, a negative test would be to provide an invalid username and password, and verify that the user is not granted access.
In summary, positive testing is designed to confirm that the system works as expected, while negative testing is designed to break the system and uncover any issues or vulnerabilities.
Positive testing is also known as confirmatory testing, where the tester is trying to confirm that the software is working as designed. This type of testing involves providing valid input to the system and confirming that the results are as expected. For example, when testing a login system, a positive test would be to provide a valid username and password, and verify that the user is successfully logged in.
Negative testing is also known as error path testing, where the tester is trying to break the system by providing invalid input and verifying that the system responds as expected. For example, when testing a login system, a negative test would be to provide an invalid username and password, and verify that the user is not granted access.
In summary, positive testing is designed to confirm that the system works as expected, while negative testing is designed to break the system and uncover any issues or vulnerabilities.


