2) grails-plugin and grails-binary-plugin lifecycle
org.grails:grails-maven-plugin:maven-test
However:
a) the maven-test goal invokes only unit tests but does not invoke grails integration tests.
b) the maven-functional-test goal invokes unit, integration and functional
Why are poor old integration tests left out?
I can see that there is a tension between the structure and granularity of maven's life cycles and where grails does its testing. By default, grails combines unit and integration testing together in test-app where maven would by default do unit testing at the test goal, and integration testing at the integration-test goal. However, I don't see that tension as a reason to omit grails integration testing from the lifecycle.
Yes I can see that the default generated pom.xml uses surefire to run integration tests, but they will be plain old non-grails integration tests right? The grails environment won't be started up will it?
The current plugin only runs grails unit tests for binary plugins? Is there a reason why?
I have a lot of grails integration tests for my binary plugins that I want to run and I am upgrading my project to use this plugin.
It seems that we have:
1) grails-app lifecycle:
2) grails-plugin and grails-binary-plugin lifecycle
However: a) the maven-test goal invokes only unit tests but does not invoke grails integration tests.
b) the maven-functional-test goal invokes unit, integration and functional
Why are poor old integration tests left out?
I can see that there is a tension between the structure and granularity of maven's life cycles and where grails does its testing. By default, grails combines unit and integration testing together in test-app where maven would by default do unit testing at the test goal, and integration testing at the integration-test goal. However, I don't see that tension as a reason to omit grails integration testing from the lifecycle.
Yes I can see that the default generated pom.xml uses surefire to run integration tests, but they will be plain old non-grails integration tests right? The grails environment won't be started up will it?