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

Switched archetypes to JUnit5 #64

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Switched archetypes to JUnit5 #64

merged 1 commit into from
Nov 28, 2023

Conversation

WolfgangHG
Copy link
Contributor

I suggest to use JUnit5 in the archetypes where possible. What do you think?

WildFly BOM still brings JUnit4, so i have to define a JUnit5 version. And the sample at https://github.com/junit-team/junit5-samples/blob/r5.10.1/junit5-jupiter-starter-maven/pom.xml defines a "junit-bom" in "dependencyManagement", so I followed this sample, too. Don't know whether this is required, as some of the components are probably not usable in the arquillian environment.

The subsystem archetype has to stay with JUnit4, as "org.wildfly.core:wildfly-subsystem-test-framework" (https://github.com/wildfly/wildfly-core/tree/main/subsystem-test/framework) only supports JUnit4 and thus the subsystem tests would fail with JUnit5.

Copy link
Member

@jamezp jamezp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a big +1 from me. I'll wait for a bit for others to give opinions before I merge it.

Copy link
Member

@jmesnil jmesnil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WolfgangHG this looks good to me, thanks!

@jamezp jamezp merged commit 91a4458 into wildfly:main Nov 28, 2023
1 check passed
@jamezp
Copy link
Member

jamezp commented Nov 28, 2023

Thank you @WolfgangHG! This is a big improvement IMO.

@WolfgangHG WolfgangHG deleted the junit5 branch November 29, 2023 07:30
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.

3 participants