-
Hello! Is there any way by which an extension can be notified that all tests in all containers have finished executing? The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question: Register a Essentially:
|
Beta Was this translation helpful? Give feedback.
Answering my own question: Register a
LauncherSessionListener
in the extension (from the JUnit Platform). The obtained launcher session can be used to register aTestExecutionListener
, which has itstestPlanExecutionFinished
method called when all tests in all containers have finished.Essentially: