I am trying to run some unit tests for my grails app, via “grails test-app -unit”. This works as expected.
However, when the tests are done, junitreport takes way too long to generate the HTML results, eg:
[junitreport] Transform time: 33294ms
33 seconds (on top of the rest of the time) is ridiculous when I want to rapidly make modifications and re-test. Is there a way I can disable this, and just use the plain-text output?
It looks like you can do:
It looks like this causes none of the reports to be generated, I’m not sure if that works for you or not.
Also available is a
-xmlargument. Perhaps its transformation will be quicker; you might give it a try.I found this out by digging through
$GRAILS_HOME/scripts/TestApp.groovy– if you dig through it you might find something better that works for you.