Great job, everything works correctly, and as expected. There are no exceptions either.
However, I think there is one more improvement that can be done. Currently running all tests from a single package is not supported. When run from the context menu of a single package, all tests of that kind from all packages are run. For example, for unit tests, "test-app -unit" command is executed.
Grails support running tests from a single package
grails test-app -unit mypackage.*
and from a package and all its subpackages
grails test-app -unit mypackage.**
I don't think that option with subpackages should be included since I don't see how STS can't deduce whether a user wants to run tests from a single package, or from subpackages. But, supporting running tests from a single package will be very nice.
Please note, if above commands are run from STS grails command popup, they cause exception and are not executed (
STS-1208). Don't know whether your code depends on this, but I thought you should know. From OS command prompt, everything works as described in Grails documentation.