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

查看:20
本文介绍了如何在 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天全站免登陆