Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Grails アプリケーションが現在テスト中であるかどうかを判断する必要があります。if (Environment.getCurrent() == Environment.TEST)私の現在の環境はEnvironment.CUSTOM名前がジェンキンスであるため、使用できません。現在テスト中であるかどうかを確認する別の方法はありますか?
if (Environment.getCurrent() == Environment.TEST)
Environment.CUSTOM