Application domains offer good configuration and deployment isolation, but other means need to be utilized to protect services from each other and to provide isolation at run time.
应用程序域提供良好的配置和部署隔离,但还需要利用其他方法来隔离服务并提供运行时隔离。
Unit tests are meant to run in isolation, which means that no database is running, no Web server is running, and — most important — no Grails-related metaprogramming occurs.
单元测试意味着在隔离环境中运行,所以不会运行数据库和 Web 服务器,最重要的是不会发生与 Grails 相关的元编程。
应用推荐