mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
docs: update
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|
||||||
- feat: add `upload` keyword for upload test
|
- feat: add `upload` keyword for upload test, see [doc](https://docs.httprunner.org/prepare/upload-case/)
|
||||||
- test: pip install package
|
- test: pip install package
|
||||||
- test: hrun command
|
- test: hrun command
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
- [requests_toolbelt](https://github.com/requests/toolbelt)
|
- [requests_toolbelt](https://github.com/requests/toolbelt)
|
||||||
- [filetype](https://github.com/h2non/filetype.py)
|
- [filetype](https://github.com/h2non/filetype.py)
|
||||||
|
|
||||||
使用内置 `upload` 关键字,可轻松实现上传功能。(适用版本:2.4.1+)
|
使用内置 `upload` 关键字,可轻松实现上传功能(适用版本:2.4.1+)。
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- test:
|
- test:
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
- eq: ["status_code", 200]
|
- eq: ["status_code", 200]
|
||||||
```
|
```
|
||||||
|
|
||||||
同时,你也可以继续使用之前描述形式。(使用版本:2.0+)
|
同时,你也可以继续使用之前描述形式(适用版本:2.0+)。
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- test:
|
- test:
|
||||||
|
|||||||
+5
-1
@@ -1,5 +1,9 @@
|
|||||||
# require mkdocs-material 3.x
|
# require mkdocs-material 3.x
|
||||||
|
|
||||||
|
#
|
||||||
|
# pip install mkdocs
|
||||||
|
# pip install mkdocs-material
|
||||||
|
|
||||||
# Project information
|
# Project information
|
||||||
site_name: HttpRunner V2.x 中文使用文档
|
site_name: HttpRunner V2.x 中文使用文档
|
||||||
site_description: HttpRunner V2.x User Documentation
|
site_description: HttpRunner V2.x User Documentation
|
||||||
@@ -64,7 +68,7 @@ nav:
|
|||||||
- 参数化数据驱动: prepare/parameters.md
|
- 参数化数据驱动: prepare/parameters.md
|
||||||
- Validate & Prettify: prepare/validate-pretty.md
|
- Validate & Prettify: prepare/validate-pretty.md
|
||||||
- 信息安全: prepare/security.md
|
- 信息安全: prepare/security.md
|
||||||
- 文件上传场景:prepare/upload-case.md
|
- 文件上传场景: prepare/upload-case.md
|
||||||
- 测试执行:
|
- 测试执行:
|
||||||
- 运行测试(CLI): run-tests/cli.md
|
- 运行测试(CLI): run-tests/cli.md
|
||||||
- 测试报告: run-tests/report.md
|
- 测试报告: run-tests/report.md
|
||||||
|
|||||||
Reference in New Issue
Block a user