mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 01:09:44 +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
|
```bash
|
||||||
$ python setup.py install
|
$ python setup.py install
|
||||||
$ python httprunner/cli.py hrun -h
|
$ 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__':
|
if __name__ == '__main__':
|
||||||
cmd = sys.argv.pop(1)
|
cmd = sys.argv.pop(1)
|
||||||
|
|
||||||
if cmd == "hrun":
|
if cmd in ["hrun", "httprunner", "ate"]:
|
||||||
main_hrun()
|
main_hrun()
|
||||||
elif cmd == "locust":
|
elif cmd in ["locust", "locusts"]:
|
||||||
main_locust()
|
main_locust()
|
||||||
|
|||||||
Reference in New Issue
Block a user