提交 1af34433 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

update doc

上级 044954a8
$>ztf.exe run demo\lang\bat\1_string_match.bat 执行演示测试用例。
$>ztf.exe set 根据系统提示,设置语言、禅道系统地址、账号和密码参数,Windows系统下会提示输入各种脚本语言的解释程序。
$>ztf.exe set 根据系统提示,设置语言、禅道地址、账号等,Windows下会提示输入语言解释程序。
$>ztf.exe co 交互式导出禅道测试用例,将提示用户输入导出类型和编号。
$>ztf.exe co -product 1 -language python 导出编号为1的产品测试用例,使用python语言,缩写-p -l。
$>ztf.exe co -p 1 -m 15 -l python 导出产品编号为1、模块编号为15的测试用例。
......@@ -13,6 +13,14 @@ $>ztf.exe run log\001\result.txt 执行result.txt结果文
$>ztf.exe run product01 -suite 1 执行禅道系统中编号为1的套件,脚本在product01目录,缩写-s。
$>ztf.exe run -task 1 执行禅道系统中编号为1的任务,脚本在当期目录, 缩写-t。
$>ztf.exe run demo\autoit 执行ZTF自带AutoIT脚本。
$>ztf.exe run demo\selenium\chrome.php --interp runtime\php\php7\php.exe
执行ZTF自带Selenium脚本,使用指定PHP解释器。
$>ztf.exe run demo\appium\android.php --interp runtime\php\php7\php.exe
执行ZTF自带Appium脚本,使用指定PHP解释器。
$>ztf.exe junit -p 1 mvn clean package test 执行junit单元测试脚本,
更多请参照https://www.ztesting.net/book/ztf-doc/junit-33.html
$>ztf.exe ci product01\tc-1.py 将脚本里修改的用例信息,同步到禅道系统。
$>ztf.exe cr log\001 提交测试结果到禅道系统。
$>ztf.exe cr -r log\001 提交测试结果到禅道系统,不需要逐个确认。
......
......@@ -3,6 +3,7 @@ set -s 设置语言、禅道系统同步参数。用户对当前目
co checkout 导出禅道系统中的用例,已存在的将更新标题和步骤描述。可指定产品、套件、测试单编号。
up update 从禅道系统更新已存在的用例。可指定产品、模块、套件、测试单编号。
run -r 执行用例。可指定目录、套件、脚本、结果文件路径,以及套件和任务编号,多个文件间用空格隔开。
junit|testng 执行JUnit、TestNG、PHPUnit、PyTest、JTest、CppUnit、GTest、QTest单元测试脚本
ci 将脚本中修改的用例信息,同步到禅道系统。
cr 将用例执行结果提交到禅道系统中。
cb 将执行结果中的失败用例,作为缺陷提交到禅道系统。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册