JUnit 5 best practices by slachiewicz · Pull Request #343 · mojohaus/extra-enforcer-rules (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

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

Sign in

Sign up

Appearance settings

mojohaus / extra-enforcer-rules Public

Additional navigation options

Merged

slachiewicz

merged 2 commits into

mojohaus:masterfrom

slachiewicz:feature/j-unit-5-best-practices

Nov 3, 2025

ConversationCommits (2)ChecksFiles changed

Merged

JUnit 5 best practices#343

slachiewicz

merged 2 commits into

mojohaus:masterfrom

slachiewicz:feature/j-unit-5-best-practices

Conversation

@slachiewicz

@slachiewicz slachiewicz commented

Nov 2, 2025

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

@slachiewicz @TeamModerne

`[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

mfriedenhagen commented

Nov 3, 2025

Copy link Copy Markdown

Member

Hi @slachiewicz , this basically just uses Junit 5 instead of 4, right?

@slachiewicz

slachiewicz commented

Nov 3, 2025

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

@mfriedenhagen

[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 slachiewicz marked this pull request as ready for review

November 3, 2025 10:18

@slachiewicz slachiewicz added the maintenance label

Nov 3, 2025

@slachiewicz slachiewicz merged commit 2bca19a into mojohaus:master

Nov 3, 2025

20 checks passed

@slachiewicz slachiewicz deleted the feature/j-unit-5-best-practices branch

November 3, 2025 10:20

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

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@slachiewicz @mfriedenhagen