I've created a plugin for Fitnesse, and Fitnesse can only give the number of executed tests after the tests have been run. In order to work around this, I supply 1 test to run in the doPrepare() method, to trigger the test run. However, this number is also used in the reporting, which is, in my case, incorrect.
GRAILS-9042 Make _GrailsTest report the real number of tests, instead…
… of given by prepare. Fixed by recalculating the real number of tests which are executed.