Script for generating CLI tests:

* Made an entry in the Makefile: `make gen-cmd` will run the script now

* Added a section on adding CLI tests in development docs
This commit is contained in:
Anush Shetty
2017-10-30 14:29:18 +05:30
parent 7cd0635adb
commit 7bb67675f4
3 changed files with 84 additions and 0 deletions
+5
View File
@@ -66,6 +66,11 @@ test-openshift:
test-cmd:
./script/test/cmd/tests.sh
# generate commandline tests
.PHONY: generate-test-cmd
gen-cmd:
./script/test/cmd/make-test.sh
# run all validation tests
.PHONY: validate
validate: gofmt vet lint