what is positive and negative testing explian with example?
Answer Posted / cody
Positive - Checking whether the application works according
to documentation or not.
Negative - Checking whether the application does what it
should not and does not when it should.
Positive and Negative Testing is a concept. Meaning this is
a way of thinking. They should not be associated with a
specific testing technique like equivalence partitioning.
They can be used within the technique but do not replace
the technique.
Requirement:
Employee can be contacted at work from 7:30am - 5:00pm
Let's use a truth table:
Start End Test Result
Test 1 - - -
Test 2 - + -
Test 3 + - -
Test 4 + + +
Test 1:
Start - Contact Employee at 7:29am (-)
End - Contact Employee at 5:01pm (-)
Test 2:
Start - Contact Employee at 7:28am (-)
End - Contact Employee at 4:59pm (+)
Test 3:
Start - Contact Employee at 7:30am (+)
End - Contact Employee at 5:02pm (-)
Test 4:
Start - Contact Employee at 7:31am (+)
End - Contact Employee at 5:00pm (+)
I have already identified which tests are negative using
the truth table. Only test 4 is a positive test. Why? Test
4 is the only test that has valid inputs verifying the
requirement is fulfilled. The other tests are derived from
the requirement but are invalid inputs.
Feel free to e-mail me any feedback.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
What is the Jar file?
What is an entry criteria?
Hello again!! wanted to ask you HOW EXACTLY create stubs and driver in integration testing? 2.whats the difference between integration testing and system integration testing? Thanks!!
What do you do (with the project staff) when the schedule fails?
When to stop testing? (Or) how do you decide when you have tested enough?
Have you worked in UDAP (Credit Card act 2009) project?What did you test in Billing & Payment modules?
How to write test case for view the table(i.e it is already stored in database and see the content in the table)
what is mean by Performance Related Testing in data base?
HOW TO CREATE SRS REVIEW REPORT TO PL?
What if the project isn’t big enough to justify extensive testing?
What is the first test in software testing process?
What is the difference between stlc and sdlc?
can anybody tell me what is release process of company? release note?
Once automated, what are the types of functionality provides the highest Return On Investment (ROI) to the company?
What are the main key components in web applications?