Skip to content

Separate integration tests by JUnit version#1636

Open
schulzjo-tng wants to merge 4 commits into
mainfrom
feature/restructure-integration-tests
Open

Separate integration tests by JUnit version#1636
schulzjo-tng wants to merge 4 commits 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 4 times, most recently from 806127c to 3e52e73 Compare June 15, 2026 08:05
Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
@hankem hankem force-pushed the feature/restructure-integration-tests branch from 3e52e73 to a3787f9 Compare June 16, 2026 19:51
hankem added 3 commits June 24, 2026 07:57
Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
…cTest

Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
Signed-off-by: Dr. Jonathan Schulz <jonathan.schulz@tngtech.com>
@schulzjo-tng schulzjo-tng force-pushed the feature/restructure-integration-tests branch from aeb73a9 to 13bc587 Compare June 24, 2026 15:19
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.

2 participants