Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JUnit 5.12 #367

Merged
merged 4 commits into from
Feb 24, 2025
Merged

Add support for JUnit 5.12 #367

merged 4 commits into from
Feb 24, 2025

Conversation

mannodermaus
Copy link
Owner

@mannodermaus mannodermaus commented Feb 24, 2025

There are some breaking API and behavioral changes in this version, which need addressing.

  • For the plugin: A dependency on junit-platform-launcher is now required at runtime, preventing cases where JUnit refuses to execute tests on version conflicts (ref this and this)
  • For the instrumentation library: Our custom test discovery used a TestPlan API that was subject to a binary-incompatible change. Use the new API method. This means that Instrumentation 1.7.0+ is only ever compatible with JUnit 5.12+.

Resolves #366.

@mannodermaus mannodermaus self-assigned this Feb 24, 2025
@mannodermaus mannodermaus merged commit 9c25cc8 into main Feb 24, 2025
3 checks passed
@mannodermaus mannodermaus deleted the junit5.12 branch February 24, 2025 23:49
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.

JUnit 5.12.0: No tests executed
1 participant