Skip to content

0.5.0

Latest
Compare
Choose a tag to compare
@bvfalcon bvfalcon released this 07 Sep 13:52
· 7 commits to master since this release

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.