Answer the question
In order to leave comments, you need to log in
Similar to the @RunWith annotation for TestNG?
I want to do something of my own before (and after) each test object, before (and after) each test method. Moreover, without affecting the tests and having access to the full context of what is happening.
In Junit, this can be achieved by defining a custom Runner.
And in TestNG?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question