Positive test cases and negative test cases

后端 未结 6 1070
无人共我
无人共我 2020-12-25 07:49

what are positive test cases and negative test cases?

Upon googling about it i have found answers that are very confusing. Can anyone explain with

6条回答
  •  执念已碎
    2020-12-25 08:28

    A positive test case is when the test is designed to return what is expected according to the requirement.

    A negative test case is when the test is designed to determine the response of the product outside of what is defined.

    You don't determine the type of test by the results, but by the expected result based on the input.

    Hope it makes sense, here's a good example http://osdir.com/ml/programming.software-qa/2004-12/msg00060.html

提交回复
热议问题