mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
refactor: hrp convert
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## hrp convert
|
||||
|
||||
convert JSON/YAML testcases to pytest/gotest scripts
|
||||
convert external cases to JSON/YAML/gotest/pytest testcases
|
||||
|
||||
```
|
||||
hrp convert $path... [flags]
|
||||
@@ -9,13 +9,17 @@ hrp convert $path... [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
--gotest convert to gotest scripts (TODO)
|
||||
-h, --help help for convert
|
||||
--pytest convert to pytest scripts (default true)
|
||||
-h, --help help for convert
|
||||
-d, --output-dir string specify output directory, default to the same dir with har file
|
||||
-p, --profile string specify profile path to override headers (except for auto-generated headers) and cookies
|
||||
--to-gotest convert to gotest scripts (TODO)
|
||||
--to-json convert to JSON scripts (default)
|
||||
--to-pytest convert to pytest scripts
|
||||
--to-yaml convert to YAML scripts
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [hrp](hrp.md) - Next-Generation API Testing Solution.
|
||||
|
||||
###### Auto generated by spf13/cobra on 9-May-2022
|
||||
###### Auto generated by spf13/cobra on 23-May-2022
|
||||
|
||||
Reference in New Issue
Block a user