add requirements-dev.txt for debugging

This commit is contained in:
debugtalk
2018-02-22 11:07:31 +08:00
parent 9c770b929a
commit ae1e6f27d9
4 changed files with 25 additions and 5 deletions

View File

@@ -1,9 +1,23 @@
## Development
To develop or debug `HttpRunner`, you can install relevant requirements and use `httprunner/cli.py` as entrances.
To develop or debug `HttpRunner`, you shall clone source code first.
```bash
$ python setup.py install
$ git clone https://github.com/HttpRunner/HttpRunner.git
```
Then install all dependencies:
```bash
$ pip install -r requirements-dev.txt
```
Now you can use `httprunner/cli.py` as debugging entrances.
```bash
# debug hrun
$ python httprunner/cli.py hrun -h
# debug locusts
$ python httprunner/cli.py locusts -h
```