You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ask here would be to implement a test listener similar to Junit mentioned in the article below.
in some cases we need to do cleanup after all the suites have finished execution.
public class TestListener extends RunListener { @OverRide
public void testRunStarted(Description description) throws Exception {
// Called before any tests have been run.
} @OverRide
public void testRunFinished(Result result) throws Exception {
// Called when all tests have finished
}
}
The ask here would be to implement a test listener similar to Junit mentioned in the article below.
in some cases we need to do cleanup after all the suites have finished execution.
public class TestListener extends RunListener {
@OverRide
public void testRunStarted(Description description) throws Exception {
// Called before any tests have been run.
}
@OverRide
public void testRunFinished(Result result) throws Exception {
// Called when all tests have finished
}
}
https://stackoverflow.com/questions/9903341/cleanup-after-all-junit-tests
The text was updated successfully, but these errors were encountered: