praveen pk
praveen pk

Reputation: 11

What is the difference between Ignore and skip in TestNG?

What is the difference between ignore and skip in TestNG?

(enabled=false)

and

dependsOnMethod={"testNG"}

Upvotes: 1

Views: 1141

Answers (1)

Gaj Julije
Gaj Julije

Reputation: 2183

Ignore means do not run it at all, and skip with the combinations of Listeners can be use for listening dependent methods and/or test. So let assume you have dependency between two tests and /or methods, test 2 can be performed only if test 1 pass. Skip will hapen for test 2 if test 1 fails.

Upvotes: 0

Related Questions