Skip to content

Separate integration tests by JUnit version#1636

Open
schulzjo-tng wants to merge 1 commit into
mainfrom
feature/restructure-integration-tests
Open

Separate integration tests by JUnit version#1636
schulzjo-tng wants to merge 1 commit into
mainfrom
feature/restructure-integration-tests

Conversation

@schulzjo-tng

Copy link
Copy Markdown

This is in preparation for adding JUnit 6 support. Since JUnit 5 and JUnit 6 have a lot of overlap in their classes, it is not possible (or, at the very least, not easy or clean) to integration test both JUnit 5 and JUnit 6 from the same Gradle subproject.

I split the shared configuration because the explicit dependencies on JUnit 5 would leak into the integration test classpaths.

I decided against removing all JUnit 5 code from the JUnit 4 integration test since I considered that to be too much effort for a JUnit version that has been deprecated for quite a while now.

@schulzjo-tng schulzjo-tng force-pushed the feature/restructure-integration-tests branch 3 times, most recently from 48d5bc0 to 806127c Compare June 15, 2026 07:34
Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
@schulzjo-tng schulzjo-tng force-pushed the feature/restructure-integration-tests branch from 806127c to 3e52e73 Compare June 15, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant