I am writing test in java using TestNG.
I want to skip or ignore a all class methods using conditional inside the class file.
In ruby, I have followed this How to skip certain tests with Test::Unit
How can I do in java?
You can ignore test method using the annotation @Test(enabled = false)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With