In this simple example it’s quite easy to see the gap in the system, because we are so familiar with login forms. This is a challenge of black box testing covering all relevant user workflows and inputs) (Note in reality there would be many more than 2 tests we would need to test many possible usernames and passwords to see if and when the system falls down. Test 1 would pass, but Test 2 would fail and expose that the system does not actually check the password at all. Type in existing username and incorrect password user receives error.Type in existing username and correct password user logged in.You’ve probably noticed what’s missing here no validation that the password is correct! So while all 5 white box tests could pass, in reality the system would be broken.Ī black box test plan would ignore the specs and just test the user story: “User signs in with username and should get access only if they type the right password.” The tests would be: Type in username that exists and password over 6 chars user logged in.Type in password less than 6 chars user receives error.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |