I created a new grails app, with an empty controller that just renders "hello".
Then i created a bunch of unit tests that just verify that it says hello, basically this x 4:
void "test something"() {
when:
controller.index()
then:
response.text == "hello"
}
However, in my output, it seems to think that there are 2 tests, at least initially:
Running 2 unit tests...
Running 2 unit tests... 1 of 2
Running 2 unit tests... 2 of 2
Running 2 unit tests... 3 of 3
Running 2 unit tests... 4 of 4
Completed 4 unit tests, 0 failed in 0m 5s
What's wrong?