mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
refactor testcase config data structure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user