winter-junit5 / io.jentz.winter.junit5 / WinterEachExtension / <init>

<init>

WinterEachExtension()

Default constructor to use this with org.junit.jupiter.api.extension.RegisterExtension.

The default configuration will operate on the application graph and will bind all Mock annotated properties to it.

This class is open and can be extended for other default configurations.

WinterEachExtension(block: Builder.() -> Unit)

JUnit5 extension that starts a io.jentz.winter.testing.WinterTestSession before each test and stops the session after each test.

For more details see io.jentz.winter.testing.WinterTestSession.