Skip to content

Use TableTest for parameterized tests - #152

Merged
mcculls merged 1 commit into
mainfrom
mcculls/table-test
Oct 22, 2026
Merged

mcculls merged 1 commit into
mainfrom
mcculls/table-test

Conversation

@mcculls

@mcculls mcculls commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

What Does This Do

Replace JUnit parameter sources with TableTest tables across class-inject, class-match, field-inject, and utils, preserving the existing test cases. Share type cases through types.table and add the TableTest dependency and Spotless formatter support.

Motivation

Keep parameterized inputs and scenario descriptions together so test cases are easier to read and maintain.

Additional Notes

Review found no issues. ./gradlew check passed, including formatting, SpotBugs, and tests on Java 8, 11, 17, 21, and 25.

Replace JUnit parameter sources with inline tables and a shared type table while preserving existing cases. Add the TableTest test dependency and Spotless formatter support.
@mcculls
mcculls marked this pull request as ready for review October 22, 2026 19:52
@mcculls
mcculls requested a review from a team as a code owner October 22, 2026 19:52
@mcculls
mcculls requested review from AlexeyKuznetsov-DD and amarziali and removed request for a team October 22, 2026 19:52

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, IMHO it is human readable now 👍

@mcculls
mcculls merged commit 30a9179 into main Oct 22, 2026
8 checks passed
@mcculls
mcculls deleted the mcculls/table-test branch October 22, 2026 20:01
@github-actions github-actions Bot added this to the 0.1.0 milestone Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants