Search code examples
unit-testingtomcatgrailstestingrun-app

Run grails functional test without having embedded tomcat start


I have a project that I am usually debugging/running using the grails run-app command. I would like to run a test but without having the server run again only for the specific test.

I usually run the server in debug mode all the time in the background.

I've tried playing around with the run configurations in iteli-j, with latest try being grails test-app functional: className


Solution

  • This plugin maybe helps you.

    Grails functional-test-development Plugin

    This plugin aims to make developing functional tests for Grails more convenient by facilitating running your tests against an already running application. It utilises the improved functional testing support added in Grails 1.3.5 and does not work with earlier versions.