TestRunner: run testcase suite

This commit is contained in:
debugtalk
2017-06-21 18:43:15 +08:00
parent 1965a7ddce
commit fc7ded4046
3 changed files with 25 additions and 26 deletions

View File

@@ -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
]