如何在Grails 3中运行单个集成测试? [英] How do I run a single integration test in grails 3?

查看:78
本文介绍了如何在Grails 3中运行单个集成测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Grails 3(至少3.1.10)在仅运行特定测试时不可靠.如何获取它以运行单个集成测试?

Grails 3 (at least 3.1.10) is flaky in running only specific tests. How do I get it to run a single integration test?

推荐答案

这是运行单个集成测试的示例命令

Here is a sample command to run a single integration test

grails test-app *LoginFunctional* -integration

如果在模式之前放置-integration标志,则test-app命令将忽略该模式并执行所有集成测试.

If you put -integration flag before pattern, the test-app command will ignore the pattern and execute all integration tests.

这篇关于如何在Grails 3中运行单个集成测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆