jeudi 1 juin 2017

Assert that TestNG test method does not throw any Exception

Is there any TestNG assert method or annotation that checks that method does not throw any exception during test execution? For example, if you try to set null as parameter to the tested method and check if there is no NullPointerException(validation for null is present).

Aucun commentaire:

Enregistrer un commentaire