add debugging entrance cmd

This commit is contained in:
debugtalk
2018-02-22 10:37:15 +08:00
parent fb984cf6e6
commit 9c770b929a
2 changed files with 3 additions and 3 deletions

View File

@@ -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
```

View File

@@ -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()