feat: add pytest sub-command to run pytest scripts

This commit is contained in:
debugtalk
2022-04-09 00:08:18 +08:00
parent ce3afd871a
commit 318e1173a2
6 changed files with 56 additions and 6 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
// runCmd represents the run command
var runCmd = &cobra.Command{
Use: "run $path...",
Short: "run API test",
Short: "run API test with go engine",
Long: `run yaml/json testcase files for API test`,
Example: ` $ hrp run demo.json # run specified json testcase file
$ hrp run demo.yaml # run specified yaml testcase file