File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
docs/site/content/zh/latest/tasks Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,15 @@ docker run -p 1234:8080 -v /var/tmp:/var/tmp \
9494
9595# # Template
9696
97- The following fields are templated with [sprig](http ://masterminds.github.io/sprig/):
97+ The following fields are templated with [sprig](https ://masterminds.github.io/sprig/):
9898
9999* API
100100* Request Body
101101* Request Header
102102
103103# ## Functions
104104
105- You could use all the common functions which comes from [sprig](http ://masterminds.github.io/sprig/). Besides some specific functions are available:
105+ You could use all the common functions which comes from [sprig](https ://masterminds.github.io/sprig/). Besides some specific functions are available:
106106
107107| Name | Usage |
108108| ---| ---|
Original file line number Diff line number Diff line change 1+ +++
2+ title = " 用例模板"
3+ +++
4+
5+ ` atest ` 采用 [ sprig] ( https://masterminds.github.io/sprig/ ) 作为测试用例的模板引擎。通过模板函数可以生成很多随机数据:
6+
7+ ## 手机号
8+
9+ 下面的代码可以生成 ` 182 ` 开头的手机号:
10+
11+ ```
12+ 182{{shuffle "09876543"}}
13+ ```
You can’t perform that action at this time.
0 commit comments