JUnit 5 best practices by slachiewicz · Pull Request #343 · mojohaus/extra-enforcer-rules (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub Copilot appDirect agents from issue to merge
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
mojohaus / extra-enforcer-rules Public
Notifications You must be signed in to change notification settings
Additional navigation options
Merged
merged 2 commits into
mojohaus:masterfrom
slachiewicz:feature/j-unit-5-best-practices
Nov 3, 2025
ConversationCommits (2)ChecksFiles changed
Merged
merged 2 commits into
mojohaus:masterfrom
slachiewicz:feature/j-unit-5-best-practices
Conversation
slachiewicz commented
Copy link Copy Markdown
Member
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit5.JUnit5BestPractices?organizationId=YWViYjlhNTAtNTg1Mi00NWRmLWIzOTgtODhhMzhkYTVkMjRh
mfriedenhagen reacted with thumbs up emoji
`[JUnit 5 best practices](/mojohaus/extra-enforcer-rules/pull/343/commits/a32029d5c121a4f4a7094ec1b5fdc785c38537db "JUnit 5 best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit5.JUnit5BestPractices?organizationId=YWViYjlhNTAtNTg1Mi00NWRmLWIzOTgtODhhMzhkYTVkMjRh
Co-authored-by: Moderne team@moderne.io") `
[a32029d](/mojohaus/extra-enforcer-rules/pull/343/commits/a32029d5c121a4f4a7094ec1b5fdc785c38537db)
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.testing.junit5.JUnit5BestPractices?organizationId=YWViYjlhNTAtNTg1Mi00NWRmLWIzOTgtODhhMzhkYTVkMjRh
Co-authored-by: Moderne team@moderne.io
mfriedenhagen commented
Copy link Copy Markdown
Member
Hi @slachiewicz , this basically just uses Junit 5 instead of 4, right?
slachiewicz commented
Copy link Copy Markdown
Member Author
Yes, this recipe includes migration to JUnit5 and some cleanups. That was automatic PR, need to go now one by one and check/fix issues.
mfriedenhagen reacted with thumbs up emoji
[Adapt to spotless resp. checkstyle](/mojohaus/extra-enforcer-rules/pull/343/commits/73fdc7282459e80916d3f7ce039ef9aecac76884 "Adapt to spotless resp. checkstyle")
[73fdc72](/mojohaus/extra-enforcer-rules/pull/343/commits/73fdc7282459e80916d3f7ce039ef9aecac76884)
slachiewicz marked this pull request as ready for review
slachiewicz added the maintenance label
slachiewicz merged commit 2bca19a into mojohaus:master
20 checks passed
slachiewicz deleted the feature/j-unit-5-best-practices branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.