提交 27cde71f 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

new features for 1.1

上级 e26f9d99
title: test
desc: wordpress article publis.
author: zentao
version: 1.0
fields:
- field: title
note: 文章标题
postfix: ", "
fields:
- field: title1
type: list
range: "[标题A,TitleB]"
postfix: "-"
- field: title2
range: 1-999
format: "%03d"
- field: content
node: 文章内容
fields:
- field: field4.1
type: list
range: [Epic,Feature,Story]:R{1}
prefix: "<h5>"
postfix: ":</h5>"
- field: field4.2
postfix: "<br/>Aaron 2020/06/18"
fields:
- field: field4.2.1
loop: 3
fields:
- field: field4.2.1.1
postfix: "<br/>"
loop: 3
fields:
- field: field4.2.2
range: a-z:R
postfix: " "
loop: 6
title: 测试
desc: 测试文件
author: wwccss
version: 1.0
fields:
- field: field1
note: 引用同级目录中的yaml文件,取small和large两个分组的值
from: numb.yaml
use: small,large
loop: 2
loopfix: "|"
prefix: "["
postfix: "]"
\ No newline at end of file
title: test
desc: This is a test file.
author: zentao
version: 1.0
fields:
- field: field1
loop: 2
loopfix: " "
prefix: "{"
postfix: "}"
\ No newline at end of file
title: test
desc: This is a test file.
author: zentao
version: 1.0
fields:
- field: objectype
range: [bug,task,story]:2{3},[testcase]{2}
postfix: " "
- field: objectid
range: 1.0-9.0:3{2}
postfix: " "
- field: action
range: [create,resolve,close]{2},[create,finish,close]{10}
\ No newline at end of file
title: test
desc: This is a test file.
author: zentao
version: 1.0
fields:
- field: field1
note: 字符区间步长、随机
range: a-f:R,0-9:2
format: "%3d"
loop: 3
loopfix: ","
prefix: "["
postfix: "] "
- field: field2
note: 单词、重复
range: [bug,task,story]:2{2},[testcase]{2}
postfix: " "
- field: field3
note: 引用同级目录中的yaml文件,取small和large两个分组的值
from: numb.yaml
use: large
postfix: " "
expect: 101,102,103...
- field: field4
note: 引用內置IP地址数据定义中的C类地址
from: system.ip.v1.yaml
use: privateC
postfix: " "
expect: 192.168.0.1 ...​
- field: field5
node: 检索、引用內置城市Excel中的数据
from: system.address.v1.city
select: name
where: state like '%西藏%'
postfix: " "
expect: 青岛、济南 ...​
- field: fieldA
node: 嵌套字段
fields:
- field: fieldA.1
type: list
range: 1-999
postfix: "."
- field: fieldA.2
prefix: '['
postfix: ']'
loop: 2
loopfix: ","
fields:
- field: fieldA.2.1
type: list
range: X-Z
- field: fieldA.2.2
type: list
range: 1-9
loop: 2
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册