mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 13:29:35 +08:00
feat: implement lazy parser for validators
This commit is contained in:
@@ -74,11 +74,9 @@ class HttpRunner(object):
|
||||
return test
|
||||
|
||||
test_suite = unittest.TestSuite()
|
||||
functions = tests_mapping.get("project_mapping", {}).get("functions", {})
|
||||
|
||||
for testcase in tests_mapping["testcases"]:
|
||||
config = testcase.get("config", {})
|
||||
test_runner = runner.Runner(config, functions)
|
||||
test_runner = runner.Runner(config)
|
||||
TestSequense = type('TestSequense', (unittest.TestCase,), {})
|
||||
|
||||
tests = testcase.get("teststeps", [])
|
||||
|
||||
Reference in New Issue
Block a user