Timo Haberkern
Timo Haberkern

Reputation: 4439

Show grails test results in Netbeans IDE

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.

Upvotes: 9

Views: 991

Answers (2)

Jesse Glick
Jesse Glick

Reputation: 25461

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.

Upvotes: 1

jnellis
jnellis

Reputation: 1

It is in the target/test-reports/html/index.html from project window. Just right click on it and choose view.

Upvotes: 0

Related Questions