I’m finding the feedback look pretty slow when running integration and functional tests in Grails. Is there a way I can run them against a running server instance while I’m writing the tests, to save on server startup time each time they’re executed?
I’m finding the feedback look pretty slow when running integration and functional tests in
Share
You can use
grails interactivewhich does what you want without starting a server. It starts a JVM and keeps it running and you can use it to run unit and integration tests. Keep in mind that you’ll eventually run out of memory and need to restart periodically. See http://docs.grails.org/latest/guide/gettingStarted.html#usingInteractiveModeAlso in 1.3.5 you can run functional tests against a running server. Use the
baseUrlattribute described in section 9.3 at http://grails.org/doc/latest/