grails test run-app 在测试环境下运行应用
Then, enter grails run-app, and we're ready to test the validation.
然后,再输入grails run - app,我们准备开始测试验证了。
To run the failing test, type grails test-app at the command prompt. You should see the results shown in Listing 5.
要运行这个将会失败的测试,在命令提示符处键入grails test - app。
You can, of course, type grails test-app -integration to run just the integration tests.
当然,您可以键入grails test - app - integration来仅运行集成测试。
应用推荐