Skip to content

Migrate the unit tests to JUnit 5 - #281

Merged
slachiewicz merged 1 commit into
masterfrom
agent/junit5
Oct 11, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/junit5

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Moves the five surefire test classes to JUnit 5 and drops JUnit 4 and maven-plugin-testing-harness, which nothing used any more. 18 tests before and after, same names per class. AjcTestCompileMojoTest now clears maven.test.skip after each test instead of leaking it into later ones. The JUnit sources under src/test/projects are fixture inputs compiled by ajc and stay as they are.

Part of mojohaus/.github#15.

@slachiewicz slachiewicz added the maintenance Cleanup, refactoring or other internal change label Oct 11, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 11, 2026 22:51
@slachiewicz
slachiewicz merged commit 0756c08 into master Oct 11, 2026
17 checks passed
@slachiewicz
slachiewicz deleted the agent/junit5 branch October 11, 2026 23:42
@github-actions github-actions Bot added this to the 1.16.2 milestone Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring or other internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant