grails/grails-maven — pull request #42 by jdpgrailsdev (2014-05-05 12:40:15+00:00)
Title: Make "test-app" goal behave more like Grails "test-app" command

The Grails Maven plugin's TestApp Mojo currently does not behave the same as the Grails "test-app" command line, which can be confusing when projects are converted to use Maven. Specifically, the mojo currently runs the unit and integration tests, then re-runs the tests using the `testPatterns` and `testTypesAndPhases` arguments. This is different than the `test-app` command, which only runs tests once, using whatever arguments are provided and defaulting to unit and integration tests if no arguments are present. The change in this PR makes the mojo behave exactly like the `test-app` command with regards to only executing the tests once based on the provided arguments.