winter-junit5 / io.jentz.winter.junit5 / AbstractWinterExtension

AbstractWinterExtension

abstract class AbstractWinterExtension : ParameterResolver

Constructors

<init>

AbstractWinterExtension(namespace: Namespace, sessionBuilder: Builder)

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

Inheritors

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.

WinterEachExtension

open class WinterEachExtension : AbstractWinterExtension, BeforeEachCallback, AfterEachCallback

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