refactor parameterization:

parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
This commit is contained in:
httprunner
2018-03-07 00:15:06 +08:00
parent b191197a43
commit 96fc410234
8 changed files with 124 additions and 51 deletions

View File

@@ -164,4 +164,4 @@ class TestRunner(ApiServerUnittest):
result = HttpRunner(testcase_file_path).run()
self.assertTrue(result["success"])
self.assertIn("token", result["output"])
self.assertEqual(result["stat"]["testsRun"], 6)
self.assertEqual(result["stat"]["testsRun"], 3 * 2 * 3)