Re: API for listening to generic test events

2019-05-16 Thread Tibor Digana
You cannot expose the interface org.apache.maven.surefire.report.RunListener outside. The users implement native Listener of JUnit5 and use it on the classpath very close to the runner (JUnit4 or JUnit5) and their tests. So it must be the *org.junit.platform.launcher.TestExecutionListener*. Surefi

Re: API for listening to generic test events

2019-05-16 Thread Benedikt Ritter
Hello, Am Do., 16. Mai 2019 um 12:36 Uhr schrieb Tibor Digana < tibordig...@apache.org>: > Is it what Marc Philipp was asking me on the chat? > The purpose looked like a top secret ;-) but it was not because Mark needed > it for testing of some internal report. > Now it looks like Junit5 wants to

Re: API for listening to generic test events

2019-05-16 Thread Tibor Digana
Is it what Marc Philipp was asking me on the chat? The purpose looked like a top secret ;-) but it was not because Mark needed it for testing of some internal report. Now it looks like Junit5 wants to remove the Surefire report out been dead and move these features into Junit5. The RunListener cou

API for listening to generic test events

2019-05-16 Thread Benedikt Ritter
Hello, I'm currently working on a Maven extension that needs to be notified of what happened during test execution in Surefire. Currently it is only possible to register test framework specific listeners via the setting [1]. However there is also the org.apache.maven.surefire.report. RunListener