[英]How to run few testcases or a testsuite from commandline using marathontesting tool (MarathonITE)?
我想使用馬拉松測試工具通過命令行或批處理模式運行多個testSuits或testCases。
Marathon / Marathonite可以在命令行上接受一系列測試。 假設您具有如下測試結構(在TestCases文件夾下):
test_1
test_2
folder_1
folder_1/test_1
folder_1/test_2
您可以按照以下方式進行馬拉松比賽:
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
有關更多詳細信息,請參見http://marathontesting.com/documentation/?section=execute-tests-in-batch-mode 。 盡管用戶指南適用於馬拉松運動員,但也適用於馬拉松運動員。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.