mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 17:29:56 +08:00
docs: update
This commit is contained in:
@@ -6,20 +6,20 @@
|
||||
`HttpRunner` is available on [`PyPI`][PyPI] and can be installed through `pip`.
|
||||
|
||||
```bash
|
||||
$ pip install httprunner
|
||||
$ pip3 install httprunner
|
||||
```
|
||||
|
||||
If you want to keep up with the latest version, you can install with github repository url.
|
||||
|
||||
```bash
|
||||
$ pip install git+https://github.com/httprunner/httprunner.git@master
|
||||
$ pip3 install git+https://github.com/httprunner/httprunner.git@master
|
||||
```
|
||||
|
||||
If you have installed `HttpRunner` before and want to upgrade to the latest version, you can use the `-U` option.
|
||||
|
||||
```bash
|
||||
$ pip install -U httprunner
|
||||
$ pip install -U git+https://github.com/httprunner/httprunner.git@master
|
||||
$ pip3 install -U httprunner
|
||||
$ pip3 install -U git+https://github.com/httprunner/httprunner.git@master
|
||||
```
|
||||
|
||||
## Check Installation
|
||||
@@ -27,15 +27,15 @@ $ pip install -U git+https://github.com/httprunner/httprunner.git@master
|
||||
When HttpRunner is installed, 4 commands will be added in your system.
|
||||
|
||||
- `httprunner`: main command, used for all functions
|
||||
- `hrun`: alias for `httprunner run`, used to run YAML/JSON testcases
|
||||
- `hrun`: alias for `httprunner run`, used to run YAML/JSON/pytest testcases
|
||||
- `hmake`: alias for `httprunner make`, used to convert YAML/JSON testcases to pytest files
|
||||
- `har2case`: alias for `httprunner har2case`, used to convert HAR to YAML/JSON testcases
|
||||
|
||||
To see `HttpRunner` version:
|
||||
|
||||
```text
|
||||
$ httprunner -V
|
||||
3.0.6
|
||||
$ httprunner -V # hrun -V
|
||||
3.0.10
|
||||
```
|
||||
|
||||
To see available options, run:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# $ pip install mkdocs-material # 5.2.2
|
||||
|
||||
# Project information
|
||||
site_name: HttpRunner V3.x 中文使用文档
|
||||
site_name: HttpRunner V3.x Docs
|
||||
site_description: HttpRunner V3.x User Documentation
|
||||
site_author: 'debugtalk'
|
||||
|
||||
@@ -28,7 +28,7 @@ theme:
|
||||
|
||||
# Google Analytics
|
||||
google_analytics:
|
||||
- 'UA-114587036-2'
|
||||
- 'UA-114587036-3'
|
||||
- 'auto'
|
||||
|
||||
# Extensions
|
||||
|
||||
Reference in New Issue
Block a user