0

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

xGIx
  • 509
  • 3
  • 7
  • 26
  • This should help you - https://stackoverflow.com/questions/3945769/how-to-disable-testng-test-based-on-a-condition – Grasshopper Oct 20 '17 at 17:02
  • Possible duplicate of [How to disable testng test based on a condition](https://stackoverflow.com/questions/3945769/how-to-disable-testng-test-based-on-a-condition) – JeffC Oct 20 '17 at 18:27

0 Answers0