Details
-
Type:
Sub-task
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Using only grails it's possible to run only unit test, but how do I do this with maven?
Is it possible to set some arg for mvn grails:test-app to it execute only unit tests or only integration tests instead of executing both always?
I couldn't find a way to test only the unit tests. It should be possible to do something like this:
mvn grails:test-app -DtestType=unit
You can run
mvn grails:exec -Dcommand=test-app -Dargs="-unit"mvn grails:exec -Dcommand=test-app -Dargs="-unit"