HttpRunner 2.0 is comming!

1, new design for testcase format;
2, refactor testcase layer mechanism.
This commit is contained in:
httprunner
2018-11-22 19:20:30 +08:00
parent 87a80ecc7f
commit f05f190d24
31 changed files with 1500 additions and 1303 deletions

View File

@@ -5,11 +5,7 @@
- device_sn: ${gen_random_string(15)}
- os_platform: 'ios'
- app_version: '2.8.6'
request:
base_url: ${get_base_url()}
headers:
Content-Type: application/json
device_sn: $device_sn
base_url: ${get_base_url()}
- test:
name: get token
@@ -38,6 +34,8 @@
url: /api/users/1000
method: POST
headers:
Content-Type: application/json
device_sn: $device_sn
token: $token
json:
name: $user_name
@@ -52,6 +50,8 @@
url: /api/users/1000
method: POST
headers:
Content-Type: application/json
device_sn: $device_sn
token: $token
json:
name: "user1"