save api in individual file: each file is corresponding to one api definition

This commit is contained in:
debugtalk
2018-12-04 22:38:41 +08:00
parent 0cfb92aa4a
commit 0eacd5f7de
13 changed files with 150 additions and 14 deletions

View File

@@ -15,7 +15,7 @@
- test:
name: make sure user $uid does not exist
api: get_user
api: api/get_user.yml
variables:
uid: $uid
token: $token
@@ -25,7 +25,7 @@
- test:
name: create user $uid
api: create_user
api: api/create_user.yml
variables:
user_name: "user1"
user_password: "123456"
@@ -37,7 +37,7 @@
- test:
name: check if user $uid exists
api: get_user
api: api/get_user.yml
variables:
uid: $uid
token: $token

View File

@@ -13,7 +13,7 @@
- test:
name: get token (setup)
api: get_token
api: api/get_token.yml
variables:
user_agent: 'iOS/10.3'
device_sn: $device_sn
@@ -27,6 +27,6 @@
- test:
name: reset all users
api: reset_all
api: api/reset_all.yml
variables:
token: $token