mardi 3 janvier 2017

Enable or disable Assertion in TestNG

Usually when we run testcases using TestNG, assertion error stops further execution after that point. But, sometimes it would be better if we could run the whole script. Manually blocking/disabling those assertions become tedious process. Hence, if there were some ways to programmatically enable/disable assertions other than manual it would be of great help indeed.

Does TestNG support this? If not, can anyone help me please?

Aucun commentaire:

Enregistrer un commentaire