[core] Kotest tests aren't picked up by surefire #5009
Labels
a:bug
PMD crashes or fails to analyse a file.
in:testing
About tests of pmd, eg the module pmd-lang-test or pmd-test
Milestone
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
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
The text was updated successfully, but these errors were encountered: