diff --git a/pkg/lib/common/utils.go b/pkg/lib/common/utils.go index 92b9a44e821ccc238ee1550caa5a1169c121c5e5..e89fb296cfb802997778dad126404ed400879a4a 100644 --- a/pkg/lib/common/utils.go +++ b/pkg/lib/common/utils.go @@ -117,7 +117,7 @@ func IsDisable(enable string) bool { func IgnoreZtfFile(path string) bool { path = filepath.Base(path) - arr := []string{"bin", "release", "logs", "xdoc", + arr := []string{"bin", "logs", "xdoc", "log", "log-bak", "conf"} if strings.Index(path, ".") == 0 || stringUtils.FindInArr(path, arr) || diff --git a/res/doc/sample.txt b/res/doc/sample.txt index 12b5deab774229ac6ef3d512abb7f2291ebe6adb..bb6f5ca53b39b6b0d8b1995b754a67246b3e6c86 100644 --- a/res/doc/sample.txt +++ b/res/doc/sample.txt @@ -25,7 +25,7 @@ $>ztf.exe expect demo\sample\1_simple.php 在脚本1_simple.php的同 $>ztf.exe extract demo\sample\8_extract_desc.php 提取脚本中的注释,生成用例步骤和期待结果。 $>ztf.exe ci product01\tc-1.py 将脚本里修改的用例信息,同步到禅道系统。 $>ztf.exe cr log\001 -p 1 提交测试结果到禅道系统编号为1的产品。 -$>ztf.exe cr log\001 -p 1 -t 1 -y 提交测试结果到禅道系统。使用-t提供TaskID、或-y忽略确认时,不需要确认。 +$>ztf.exe cr log\001 -p 1 -t 1 -y 提交测试结果到禅道系统。使用-t提供测试单ID、或-y忽略确认时,不需要确认。 $>ztf.exe cb log\001 -p 1 提交测试结果中失败用例为缺陷。 $>ztf.exe list demo\lang\bat 列出目录bat下的所有脚本文件,支持多个目录和文件参数项。 diff --git a/res/server/zh/messages.json b/res/server/zh/messages.json index 06170352c4e5447d89f88acb8b7fe03e1cecf9c0..d30cb0b08b7468362645d68e361280f15dad8e15 100644 --- a/res/server/zh/messages.json +++ b/res/server/zh/messages.json @@ -200,7 +200,7 @@ }, { "id": "co_organize_by_module", - "translation": "是否希望按模块ID组织脚本目录结构?(y/n, 默认Yes)" + "translation": "是否希望按模块ID组织脚本目录结构?(y/n, 默认No)" }, { "id": "co_script_prefix",