从命令行运行JUnit测试套件 [英] Run JUnit Test suite from command line

查看:198
本文介绍了从命令行运行JUnit测试套件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从命令行运行Junit 4.8.1测试套件?
同样我想使用JUnit 4.8引入的类别,有一种方法
我可以从命令行指定我想运行的类别。

How do I run a Junit 4.8.1 Test suite from command line ? Also I want to use the categories introduces with JUnit 4.8 , is there a way where I can specify from command line the category which I want to run.

推荐答案

没有办法(从4.8开始)从命令行指定类别。

There is no way (as of 4.8) to specify categories from the command line.

这篇关于从命令行运行JUnit测试套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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