What problem does it solve?
Migrating JUnit 5 parameterized tests written with @MethodSource, @CsvSource, or @ValueSource to the @TableTest format is repetitive and error-prone, especially under JDK 8 constraints where text blocks are unavailable and table syntax must follow strict formatting rules.
Core Features & Use Cases
- Automated Conversion: Transforms @CsvSource, @ValueSource, and @MethodSource parameterized tests into @TableTest with aligned pipe-delimited tables, header rows, and scenario columns.
- JDK 8 Compliance: Enforces String[] annotation array syntax, single-quote string handling, and value-set notation instead of matrix repetition.
- Mixed Eligibility Handling: Combines @TableTest with @MethodSource on one @ParameterizedTest when only some cases are tabular, and uses @TypeConverter for symbolic constants.
- Use Case: A developer modernizing a Java test suite can convert dozens of @CsvSource tests into readable @TableTest tables, then run the module's Gradle tests to verify BUILD SUCCESSFUL.
Quick Start
Convert all @MethodSource, @CsvSource, and @ValueSource parameterized tests in this module to @TableTest and run the module tests to verify the build passes.