add debugging entrance cmd

This commit is contained in:
httprunner
2018-02-22 10:37:15 +08:00
parent 00e9f2e144
commit b4a5c04014
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 ```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
``` ```

View File

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