vendredi 20 octobre 2017

Possible to skip a class if a method fails inside that class using TestNG?

Possible to skip a class if a method fails inside that class using TestNG?

  1. We have x2 classes: classX and ClassY
  2. Lets say method2 of 5 in classX fail's > methods 3, 4, 5 are in turn then skipped.
  3. Is it possible then to still execute classY even though classX has had methods which have failed?

thanks

Aucun commentaire:

Enregistrer un commentaire