Interface LambdaTestListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Lambda version for
TestExecutionListener. Requires
TestExecutionListenerLambdaAdapter. Assumed to
be used with TestEnvironmentSetup object, when its declared
as lambda itself and complete listener implementation (
TestExtension.listen(ru.vyarus.dropwizard.guice.test.jupiter.env.listen.TestExecutionListener)) would look clumsy.- Since:
- 20.02.2025
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTestEvent(EventContext context) Called on test event (seeTestExecutionListener) for events description.
-
Method Details
-
onTestEvent
Called on test event (seeTestExecutionListener) for events description.- Parameters:
context- context object providing access to all required objects- Throws:
Exception- on error
-