mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
TestRunner: run testcase suite
This commit is contained in:
@@ -19,3 +19,9 @@ class TestRunner(object):
|
||||
diff_content = utils.diff_response(resp_obj, testcase['response'])
|
||||
success = False if diff_content else True
|
||||
return success, diff_content
|
||||
|
||||
def run_testcase_suite(self, testcase_sets):
|
||||
return [
|
||||
self.run_single_testcase(testcase)
|
||||
for testcase in testcase_sets
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user