This is a follow on to Eclipse Setup for Grails 1.1 Development.
Although not ideal Eclipse integration, by setting up a Run Configuration for your Grails project in Eclipse, you will be able to run and debug Grails integration JUnit tests within Eclipse. Here is how:
Try it out. Let’s say you have integration tests for a controller called SomeController. When you run this new run configuration, when prompted type in SomeController. The results of test will be shown in the console and the test report will be generated in <your project>/test/reports (you will have to manually re-sync to refresh the reports.
Now try setting a breakpoint in a test within the integration test case for SomeController. Now run the debug configuration version of the setup you did above. Again, when prompted enter SomeController. Eclipse should stop at your breakpoint. Now you can debug your integration test within Eclipse without having to manually setup a remote debugger.