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

Remove junit-platform.properties #1808

Open
knoobie opened this issue Jun 21, 2024 · 0 comments
Open

Remove junit-platform.properties #1808

knoobie opened this issue Jun 21, 2024 · 0 comments
Labels

Comments

@knoobie
Copy link

knoobie commented Jun 21, 2024

Vaadin's testbench should not provide a junit-platform.properties.. otherwise customer can't provide their own properties reliable anymore.

Adding a custom junit-platform.properties to my applicaiton results in:


[main] INFO org.apache.maven.plugin.surefire.SurefirePlugin - 
[main] INFO org.apache.maven.plugin.surefire.SurefirePlugin - -------------------------------------------------------
[main] INFO org.apache.maven.plugin.surefire.SurefirePlugin -  T E S T S
[main] INFO org.apache.maven.plugin.surefire.SurefirePlugin - -------------------------------------------------------
Jun 21, 2024 4:03:48 PM org.junit.platform.launcher.core.LauncherConfigurationParameters loadClasspathResource
WARNING: Discovered 2 'junit-platform.properties' configuration files in the classpath; only the first will be used.
Jun 21, 2024 4:03:48 PM org.junit.platform.launcher.core.LauncherConfigurationParameters loadClasspathResource
WARNING: Discovered 2 'junit-platform.properties' configuration files in the classpath; only the first will be used.
Jun 21, 2024 4:03:48 PM org.junit.platform.launcher.core.LauncherConfigurationParameters loadClasspathResource
WARNING: Discovered 2 'junit-platform.properties' configuration files in the classpath; only the first will be used.

Spoiler: My configuration was not the first one ;)

Related to: junit-team/junit5#2794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🔖 Normal Priority (P2)
Development

No branches or pull requests

2 participants