Added annotation @ParameterizedConstructor
, with help of which parameters to constructor can be passed. The usage of @ParameterizedConstructor
is absolute equivalent to standard JUnit 5 annotation @ParameterizedTest
.
Also supported (and at least one required) @*Source
-annotations: @ValueSource
, @MethodSource
, @EnumSource
, @EmptySource
and @NullSource
for defining source of constructors parameters.
Classes used @ParameterizedConstructor
must be defined with modifier abstract
and can contain one or more methods annotated with @Test
.
Standard JUnit 5 annotations @Disabled
, @TestInstance
, @BeforeAll
, @BeforeEach
, @AfterEach
and @AfterAll
are supported.