Positive Testing Vs Negative Testing
Below are the differences between positive testing and negative testing-
S. No | Positive Testing | Negative Testing |
---|---|---|
1 . | It is always done to verify the known set of test conditions. | It is always done to break the product with an unknown set of test conditions. |
2. | Positive Testing is carried out by keeping the positive set of views. | Negative Testing is carried out by keeping the negative set of views. |
3. | It is to check the application with a valid set of data. | It is to check the application with an invalid set of data. |
4. | It takes less time. | It takes more time. |
5. | It is less efficient than Negative Testing. | It is more efficient than Positive Testing since it covers all possible test cases. |
6. | It returns only the expected result. | We can find some unexpected results during the testing. |
7. |
Example: Enter the valid email id in the form by mentioning all the letters in the small case along with @ symbol. xyz@gmail.com – Positive Testing (Expected Result) |
Example: Enter the invalid email id in the form by mentioning the letters in uppercase and not properly mentioned @ symbol. XYZgamil.com – Negative Testing (Error) |
Positive Testing – Software Testing
SDLC stands for Software Development Life Cycle. It consists of a sequence of steps that have to be followed by an organization to develop and deploy its software. It consists of 7 phases-Planning, Analysis, Design, Development, Testing, Implementation, and Maintenance.
Software testing plays an important role. After the planning, requirement analysis, design, and code were developed, the testing phase gets started. This testing phase is handled by Quality Analyst or Software Test Engineer to test the software with various test cases to ensure that the developed product or software is working properly as per their requirement. During testing, the tester will find bugs or errors in the developed code and help the end-users to correct their mistakes while interacting with the software.
There are various types of testing techniques to be carried out for testing the entire product. Here, we will discuss the following topics of Positive Testing:
- Introduction to Positive Testing.
- Execution of Positive Testing
Let’s start discussing each of these topics in detail.