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

readme

上级 b0275730
......@@ -83,7 +83,7 @@ func SaveConfig(language string, url string, account string, password string) er
}
func PrintCurrConfig() {
logUtils.PrintToStdOut(i118Utils.I118Prt.Sprintf("current_config"), color.FgCyan)
logUtils.PrintToStdOut("\n"+i118Utils.I118Prt.Sprintf("current_config"), color.FgCyan)
val := reflect.ValueOf(vari.Config)
typeOfS := val.Type()
......@@ -91,12 +91,8 @@ func PrintCurrConfig() {
val := val.Field(i)
name := typeOfS.Field(i).Name
if !vari.RunFromCui && (name == "Width" || name == "Height" || name == "WorkHistories") {
continue
}
fmt.Printf(" %s: %v \n", typeOfS.Field(i).Name, val.Interface())
fmt.Printf(" %s: %v \n", name, val.Interface())
}
fmt.Println("")
}
func ReadCurrConfig() model.Config {
......
......@@ -49,6 +49,7 @@ var (
Example = ` $>atf.exe run scripts-demo/tc-01.bat 执行本项目自带的测试用,非windows系统使用tc-01.sh脚本。
$>atf.exe set 根据系统提示,设置语言、禅道系统地址、账号和密码参数。
$>atf.exe co 交互式导出禅道测试用例,将提示用户输入导出类型和编号。
$>atf.exe co -product 1 -language python 导出编号为1的产品测试用例,使用python语言,缩写-p -l。
$>atf.exe co -p 1 -m 16 -l python 导出产品编号为1、模块编号为16的测试用例。
......
......@@ -3,3 +3,5 @@ go-bindata -o=res/res.go -pkg=res res/ res/json res/template
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o release/atf-2.0.0.alpha.exe src/atf.go
GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o release/atf-linux-amd64-2.0.0.alpha src/atf.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o release/atf-mac-amd64-2.0.0.alpha src/atf.go
error_log(json_encode($_POST, JSON_FORCE_OBJECT));
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册