Positive test cases and negative test cases

后端 未结 6 1073
无人共我
无人共我 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:52

    positive or negative is meaningless unless you put the requirement in the content. Let's say, one requirement is "the log in should fail if the user ID is not correct". I know it's bit counter-intuitive, a positive test is the type of test that will generate a failure in logging in, while the negative test will generate the result of successful log in.

提交回复
热议问题