does anybody know a possibility to show the Unit-Test results of a grails project in the "Test Result"-Window of the netbeans IDE? The test results are saved in the project folder as JUnit XML Files.
Junit 5 is, architecturally, so different to previous versions, that it should really be called Jupiter, instead. However, this is not a problem when you're using Maven, since Maven resolves all transitive dependencies for you, and is supported in that way from Apache NetBeans 10 onwards.
Code Coverage on the NetBeans Platform In the IDE, go to Tools | Plugins and install "Cobertura Module Test Coverage".
Netbeans already includes the junit classes. So there is nothing to install.
It does not look like there is any such integration like there is for e.g. Ruby.
For Java projects, the IDE does not wait for XML files to be written to a build directory; it listens for special events in the Ant <junit>
task and reports them immediately.
I do not think much work is being done on the Groovy support generally, but perhaps someone could write a plugin which just waits for TEST-*.xml
to appear in some build directory, and displays them in Test Results. This would require using the org.netbeans.modules.gsf.testrunner API (currently not published for public use). Such a plugin could be handy not just for Grails users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With