httprunner / httprunner

HttpRunner 是一个开源的 API/UI 测试工具,简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。
https://httprunner.com/httprunner/
Apache License 2.0
4.06k stars 1.28k forks source link

不同文档的用例转换命令行参数不一致 #1410

Open hahalby opened 2 years ago

hahalby commented 2 years ago

问题描述

hrp 用例转换命令行参数不同位置描述不一致,功能是否等同?

https://github.com/httprunner/httprunner 上描述的参数:har2case https://github.com/httprunner/httprunner/blob/master/docs/cmd/hrp_convert.md 上描述的参数:convert

版本信息

请提供如下版本信息:

bbxwinner commented 2 years ago

感谢反馈,是仓库主页 README 没有及时更新及时 😅😅😅

功能方面,har convert 指令涵盖了所有转换功能,目前最新版本中已经废弃 har2case 这个子命令了

Usage:
  hrp [command]

Available Commands:
  boom         run load test with boomer
  build        build plugin for testing
  completion   generate the autocompletion script for the specified shell
  convert      convert to JSON/YAML/gotest/pytest testcases
  help         Help about any command
  pytest       run API test with pytest
  run          run API test with go engine
  startproject create a scaffold project
  wiki         visit https://httprunner.com

Flags:
  -h, --help               help for hrp
      --log-json           set log to json format
  -l, --log-level string   set log level (default "INFO")
      --venv string        specify python3 venv path
  -v, --version            version for hrp