Surefire not reporting on some dynamic tests #4451
-
I have a situation in my project that kind of looks like this ticket: #384 But is not quite the same. In the project we have a test-class I'm trying to add, in the same module of the project, a new test-class I can see that Surefire picks it up and if I add a test with the However I'm trying to convert it to dynamic tests with a If I leave in the one test-method with When running the tests manually in IntelliJ I do get reporting from IntelliJ on each test executed. I have not yet created a small project to reproduce the issue as I don't yet know what is the circumstance that breaks it -- One test is picked up by Surefire as expected and the other one isn't. Whatever I do I cannot break the working one and so I don't yet know what exactly to put in such a reproduction case. The project however is open source so the branch on which I'm working can be inspected here, if anyone is curious and willing to look at it. This is the test that doesn't work as expected: And this is the test that does: This is output from the Maven build:
The output of RunLarvaTests should have 485 test-cases, and about half of them should fail currently (due to an issue with the environment in which the tests run, not the actual codebase of the project itself 😬 ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
There are similar issues reported against Surefire 3.5.3. Does this also happen with earlier versions? |
Beta Was this translation helpful? Give feedback.
Since the suspected culprit was introduced in 3.5.3, I'd try reverting to 3.5.2.