[英]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.