extract meta data of request and bind it to testcase

This commit is contained in:
httprunner
2018-02-26 00:13:31 +08:00
parent 7d81db9c88
commit ea4a2c6d3f
3 changed files with 18 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ class TestCase(unittest.TestCase):
def runTest(self):
""" run testcase and check result.
"""
self.test_runner.run_test(self.testcase_dict)
self.meta_data = self.test_runner.run_test(self.testcase_dict)
class TestSuite(unittest.TestSuite):
""" create test suite with a testset, it may include one or several testcases.