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