Maven:Surefire-干跑? [英] Maven: Surefire --dry-run?

查看:92
本文介绍了Maven:Surefire-干跑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让火力全开? 会列出将要运行的测试,而不运行这些测试.

Is there some way to dry-run surefire? Something which would list wich tests would run, without running them.

目标是,要知道在某些配置下(将)在JBoss AS7测试套件中运行哪些测试.

The goal is, to know which tests (would) run in JBoss AS7 testsuite under certain config.

推荐答案

Janinko在 https://github.com/janinko/maven-surefire/tree/feature/dryrun 其中添加了此选项:

There's a change by Janinko at https://github.com/janinko/maven-surefire/tree/feature/dryrun Which adds this option:

-Dtest.dryrun=true

希望它将到达上游.

这篇关于Maven:Surefire-干跑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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