dimanche 10 juin 2018

TestNG and DataProvider - how to handle good failed tests

My queston is: When you do a test for logging page and you use different parameters and some of them causes our tests fails then what you do with them? I mean you have test with let say 5 parameters. 3 of them are positive and test passes, and 2 of them are negative and test fails. You also run your tests everyday from TeamCity/Jenkins automaticaly. So if anyone will look at them then he sees that 2 tests fails thinking that something is wrong. How do you handle this situations? Do you somehow mark intentionaly failed tests as passed or something like that? if yes, how do you do this?

Aucun commentaire:

Enregistrer un commentaire