提交 64e5811c 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

update usage

上级 d9159646
......@@ -5,4 +5,5 @@
/.idea/
/bin/
/release/
/test/
\ No newline at end of file
/test/
/ztf/
\ No newline at end of file
......@@ -24,4 +24,7 @@ $>atf.exe -l dir1 -k word 列出指定路径下,标题包含'w
$>atf.exe view tc01.py tc02.py 查看指定路径的测试脚本。
$>atf.exe -v dir1 -k 1 查看指定路径下,ID为1的脚本。
$>atf.exe -v dir1 -k word 查看指定路径下,标题包含'word'的脚本。
\ No newline at end of file
$>atf.exe -v dir1 -k word 查看指定路径下,标题包含'word'的脚本。
$>atf.exe sort dir1 将dir1目录下脚本的步骤重新排序, 缩写-s。
$>atf.exe clean 清除所有测试执行日志,缩写-c。
\ No newline at end of file
......@@ -8,5 +8,7 @@ cr 将用例执行结果提交到禅道系统中。
cb 将执行结果中的失败用例,作为缺陷提交到禅道系统。
list ls -l 查看测试用例列表。可指定目录和文件的列表,之间用空格隔开。
view -v 查看测试用例详情。可指定目录和文件的列表,之间用空格隔开。
sort -s 将脚本文件中的步骤重新排序。
clean -c 清除脚本执行日志。
--verbose 显示详细日志,如Http请求、响应、错误等信息。
\ No newline at end of file
go-bindata -o=res/res.go -pkg=res res/ res/doc res/json res/template
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o release/ztf.exe src/ztf.go
GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o release/ztf-linux src/ztf.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o release/ztf-mac src/ztf.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ztf/ztf.exe src/ztf.go
GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ztf/ztf-linux src/ztf.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ztf/ztf-mac src/ztf.go
rm -rf ztf/demo
rm -rf ztf/conf
rm -rf ztf/log
rm -rf ztf
mkdir ztf
mkdir ztf/log
cp -r conf ztf/
cp -r demo ztf/
zip -r ztf/ztf-win-2.0.beta1.zip ztf/ztf.exe ztf/demo ztf/conf ztf/log
zip -r ztf/ztf-linux-2.0.beta1.zip ztf/ztf-linux ztf/demo ztf/conf ztf/log
zip -r ztf/ztf-mac-2.0.beta1.zip ztf/ztf-mac ztf/demo ztf/conf ztf/log
zip -r ztf/ztf-win-2.0.zip ztf/ztf.exe ztf/demo ztf/conf ztf/log
zip -r ztf/ztf-linux-2.0.zip ztf/ztf-linux ztf/demo ztf/conf ztf/log
zip -r ztf/ztf-mac-2.0.zip ztf/ztf-mac ztf/demo ztf/conf ztf/log
error_log(json_encode($_POST, JSON_FORCE_OBJECT));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册