scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin
Apache License 2.0
34 stars 61 forks source link

Provide a method by which code can be executed after ALL suites have finished #55

Open aosama opened 6 years ago

aosama commented 6 years ago

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

seanf commented 5 years ago

Related? https://github.com/scalatest/scalatest-maven-plugin/issues/59