We are using Maven as build system for our Grails 2.1.0 project. For unit testing we use Spock and for functional testing we currently use Geb without Spock.
When we run 'mvn clean install' no test reports are created for the Spock Specifications. After a closer look it seems the test reports for the Spock specifications are created during the grails:maven-test step. But the grails:maven-functional-test step that is run after the grails:maven-test replaces the test-reports directory and the Spock specifications are not executed again during this step (jUnit test are executed again).
Does anybody know how can configure the maven Grails execution so that a) the unit Spock specifications are executed as part of grails:maven-functional-test; or b) that grails:maven-functional-test only adds to the test-reports directory and does not completely replace it?
regards,
Ruben Verlinden