Best way to run a Grails integration test in IntelliJ?

I am perplexed by the IntelliJ 10 documentation on this topic, which lists two different run/debug configurations, "Grails Application" and "Grails Tests". I only see one kind of Grails configuration labeled just "Grails". I was able to run a single integration test by creating a Grails config with the command line "test-app <name of my test class>". Is that the recommended approach? Surely this is not intuitive. In particular, right-clicking on a Grails integration test class should "just work", right now that creates a JUnit test configuration that is not initialized properly and fails.

Walter Gillett

Please sign in to leave a comment.