andy-bell101 / neotest-java

Java plugin for Neotest
MIT License
11 stars 4 forks source link

Support for parameterized tests #2

Open andy-bell101 opened 1 year ago

andy-bell101 commented 1 year ago

Add support for parameterized JUnit tests. Currently waiting for #gradle/gradle#23324 to be addressed so the JUnit XML contains the method names of the test that can be associated back to the test case.

Creating individual sub-entries beneath a test would be extremely difficult. I don't think Gradle has a means of showing just the tests that are collected without running them. So I would have to manually parse the parameterized tests to generate the test cases. I think a better solution would be to somehow roll up the results from the parameterized test into a single result and show them all under the same test. That seems like it would be pretty achievable.