Grails 2.4.3 number of unit tests is wrong
I've created a new grails app with an empty controller that just displays "hello".
Then I created a bunch of unit tests that just confirm that it says hi, it's basically x 4:
void "test something"() {
when:
controller.index()
then:
response.text == "hello"
}
However, to my conclusion, it seems 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?
+3
source to share
1 answer
You are not doing anything wrong. See https://jira.grails.org/browse/GRAILS-11473 .
Excuse for troubling.
0
source to share