Add test cases for interactive commands (#297)
* Add test cases for message confirm * Add more test cases for the confirming case * Add more test cases * Add test cases for restart Jenkins command * Add more test cases * Add more test cases * Add more test cases * Fix the build test error * Add test cases for user edit * Add test cases for config edit command * Add more test cases for config generate and remove cmd * Remove unused interface * Do not test copy * Add test cases for config add command * Add test cases for config select command * Add test cases for open jenkins command * Fix missing of stdio * Fix the error of config remove test
Showing
app/cmd/config_add_test.go
0 → 100644
app/cmd/config_edit_test.go
0 → 100644
app/cmd/config_remove_test.go
0 → 100644
app/cmd/config_select_test.go
0 → 100644
app/cmd/user_edit_test.go
0 → 100644
... | ... | @@ -13,11 +13,13 @@ require ( |
github.com/gosuri/uilive v0.0.3 // indirect | ||
github.com/gosuri/uiprogress v0.0.1 | ||
github.com/hashicorp/go-version v1.2.0 | ||
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 | ||
github.com/mattn/go-isatty v0.0.10 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/onsi/ginkgo v1.11.0 | ||
github.com/onsi/gomega v1.8.1 | ||
github.com/spf13/cobra v0.0.5 | ||
github.com/stretchr/testify v1.4.0 | ||
go.uber.org/zap v1.13.0 | ||
gopkg.in/yaml.v2 v2.2.5 | ||
) |
想要评论请 注册 或 登录