Skip to content

🧹 chore: use JUnit 5 #400

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

Merged
merged 1 commit into from
Jul 15, 2025
Merged

🧹 chore: use JUnit 5 #400

merged 1 commit into from
Jul 15, 2025

Conversation

gaeljw
Copy link
Member

@gaeljw gaeljw commented Jul 11, 2025

🤔 What's changed?

Use JUnit 5 in our internal tests, in examples (keep JUnit 4 example though) and integration tests.

Note that because of a bug in sbt/junit5 interface, @mpkorstanje had to do a workaround in cucumber-junit-platform-engine.

⚡️ What's your motivation?

Relates to #399, deprecation of cucumber-junit module and the overall deprecation status of JUnit 4.

🏷️ What kind of change is this?

  • 📖 Documentation (improvements without changing code)
  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@gaeljw gaeljw marked this pull request as ready for review July 15, 2025 09:53
@gaeljw gaeljw force-pushed the timeforjunit5 branch 3 times, most recently from f470d53 to 0996822 Compare July 15, 2025 09:59
@gaeljw gaeljw added 🏦 debt Tech debt 🤖 dependencies Dependency upgrade 📖 documentation Improvements or additions to documentation labels Jul 15, 2025
In our internal tests + examples + integration tests
@gaeljw gaeljw merged commit 3fd61cf into main Jul 15, 2025
4 of 5 checks passed
@gaeljw gaeljw deleted the timeforjunit5 branch July 15, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏦 debt Tech debt 📖 documentation Improvements or additions to documentation 🤖 dependencies Dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants