winter-junit5 / io.jentz.winter.junit5 / WinterAllExtension

WinterAllExtension

open class WinterAllExtension : AbstractWinterExtension, BeforeAllCallback, AfterAllCallback

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

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

Constructors

<init>

WinterAllExtension()

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

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

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

Functions

afterAll

fun afterAll(context: ExtensionContext): Unit

beforeAll

fun beforeAll(context: ExtensionContext): Unit

Inherited Functions

after

fun after(context: ExtensionContext): Unit

before

fun before(context: ExtensionContext): Unit

resolveParameter

fun resolveParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Any

supportsParameter

fun supportsParameter(parameterContext: ParameterContext, extensionContext: ExtensionContext): Boolean