mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
add debugging entrance cmd
This commit is contained in:
@@ -5,5 +5,5 @@ To develop or debug `HttpRunner`, you can install relevant requirements and use
|
||||
```bash
|
||||
$ python setup.py install
|
||||
$ python httprunner/cli.py hrun -h
|
||||
$ python httprunner/cli.py locust -h
|
||||
$ python httprunner/cli.py locusts -h
|
||||
```
|
||||
|
||||
@@ -148,7 +148,7 @@ def main_locust():
|
||||
if __name__ == '__main__':
|
||||
cmd = sys.argv.pop(1)
|
||||
|
||||
if cmd == "hrun":
|
||||
if cmd in ["hrun", "httprunner", "ate"]:
|
||||
main_hrun()
|
||||
elif cmd == "locust":
|
||||
elif cmd in ["locust", "locusts"]:
|
||||
main_locust()
|
||||
|
||||
Reference in New Issue
Block a user