简体   繁体   English

如何使用marathontesting工具(MarathonITE)从命令行运行几个测试用例或测试套件?

[英]How to run few testcases or a testsuite from commandline using marathontesting tool (MarathonITE)?

我想使用马拉松测试工具通过命令行或批处理模式运行多个testSuits或testCases。

Marathon/Marathonite can accept a list of tests on the command line. Marathon / Marathonite可以在命令行上接受一系列测试。 Suppose you have a test structure like follows (under the TestCases folder): 假设您具有如下测试结构(在TestCases文件夹下):

test_1
test_2
folder_1
folder_1/test_1
folder_1/test_2

You can run marathon as follows: 您可以按照以下方式进行马拉松比赛:

marathon -batch <project-folder> # Runs all tests
marathon -batch <project-folder> test_1 # Runs only test_1
marathon -batch <project-folder> test_1 test_2 # Runs test_1 and test_2
marathon -batch <project-folder> folder_1.test_1 # Runs only folder_1/test_1
marathon -batch <project-folder> folder_1.AllTests # Runs all tests from folder_1

For more details see http://marathontesting.com/documentation/?section=executing-tests-in-batch-mode . 有关更多详细信息,请参见http://marathontesting.com/documentation/?section=execute-tests-in-batch-mode Though the user guide is for marathonite is valid for marathon also. 尽管用户指南适用于马拉松运动员,但也适用于马拉松运动员。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用TestSuite跨包收集测试用例 - Gather testcases with TestSuite across packages 如何从命令行运行Xamarin.UITest? - How can I run a Xamarin.UITest from the commandline? 如何从SOAP UI TestSuite拆卸脚本中获取测试运行断言结果(状态和名称)? - How to get the test run assertion result (status and name) from a SOAP UI TestSuite Teardown Script? 无法在 pytest 中运行测试用例 - Unable to run testcases in pytest 使用Maven构建工具在单个浏览器中运行多个测试用例(TestNG用例)? - Running multiple testcases (TestNG cases) in a single browser using maven build tool? 如何:在python中设置测试套件 - How to: setting a testsuite in python 如何创建机器人测试套件? - how to create a robotium testsuite? 如何从 Gitlab 将参数注入 testcafe 命令行 - How from Gitlab inject parameter to testcafe commandline 如何使用gcov计算对应于C程序的测试用例的代码覆盖率? - How to calculate the code coverage of testcases that coresponding to C program using gcov? 如何阻止量角器在失败时运行进一步的测试用例? - How to stop protractor from running further testcases on failure?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM