refactor testcase config data structure

This commit is contained in:
debugtalk
2018-11-15 21:49:05 +08:00
parent a67216cbdd
commit 5013861f74
5 changed files with 29 additions and 47 deletions

View File

@@ -151,13 +151,11 @@ class HttpRunner(object):
"name": "desc1",
"path": "testcase1_path",
"variables": [], # optional
"request": {} # optional
"refs": {
"functions": {},
"env": {},
"def-api": {},
"def-testcase": {}
}
"request": {}, # optional
"functions": {},
"env": {},
"def-api": {},
"def-testcase": {}
},
"teststeps": [
# teststep data structure