winter-junit5 / io.jentz.winter.junit5

Package io.jentz.winter.junit5

Types

AbstractWinterExtension

abstract class AbstractWinterExtension : ParameterResolver

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.

Annotations

WInject

annotation class WInject

This annotation can be used to inject values into JUnit5 methods and constructors by using the test graph to resolve them.