A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/5009 below:

[core] Kotest tests aren't picked up by surefire · Issue #5009 · pmd/pmd · GitHub

Many tests written in kotlin for Kotest are not being executed by Maven.

For instance see this log:
https://github.com/pmd/pmd/actions/runs/9036543035/job/24833638646#step:7:6447

[INFO] Running net.sourceforge.pmd.lang.java.types.internal.infer.CaptureInferenceTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 s -- in net.sourceforge.pmd.lang.java.types.internal.infer.CaptureInferenceTest
[INFO] Running net.sourceforge.pmd.lang.java.types.internal.infer.CtorInferenceTest
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.100 s -- in net.sourceforge.pmd.lang.java.types.internal.infer.CtorInferenceTest

Those are these files: CaptureInferenceTest and CtorInferenceTest

The tests that are picked up show "Tests run: 0", and many other tests are not picked up (search BranchingExprsTestCases in the log for instance, it's not there).

I tried to upgrade kotest but that makes surefire hang completely... Not sure what happens. I noticed this because I can actually run all those tests from within Intellij, and one test case in BranchingExprsTestCases has been failing for a while... but the Maven build succeeds.

Related issue (maybe) #4236


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4