Do Grails tests run in test environment by default?

别说谁变了你拦得住时间么 提交于 2019-12-06 10:28:09

问题


Is it necessary to supply the environment as grails test test-app?


回答1:


Grails tests do run in the test environment by default.

In general Grails commands default to dev if not specified, but the test-app command overrides the environment to test if none was specified, and the war command defaults to prod if not specified.



来源:https://stackoverflow.com/questions/25287173/do-grails-tests-run-in-test-environment-by-default

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!