Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从外部选择Testclass(JUnit Selenium)_Selenium_Junit - Fatal编程技术网

从外部选择Testclass(JUnit Selenium)

从外部选择Testclass(JUnit Selenium),selenium,junit,Selenium,Junit,有没有办法从外部指定要在JUnit测试套件中运行的测试类 因此,我分析JUnit TestSuite中的参数,并从选定的类运行JUnit测试?您可以使用-Dtest=testclass#testmethod命令行参数,您也可以在Jenkins中传递该参数

有没有办法从外部指定要在JUnit测试套件中运行的测试类


因此,我分析JUnit TestSuite中的参数,并从选定的类运行JUnit测试?

您可以使用
-Dtest=testclass#testmethod
命令行参数,您也可以在Jenkins中传递该参数