Commit Graph

6 Commits

Author SHA1 Message Date
httprunner
17bf07f012 change variable marker and function marker:
1, variable marker: ${var} => $var;
2, function marker: {'func': 'gen_random_string', 'args': [5]} => ${gen_random_string(5).
2017-07-04 16:45:18 +08:00
httprunner
d9ca96aba6 add test for import_module_functions 2017-07-01 21:54:14 +08:00
httprunner
5dc5ca950d refactor context:
1, testset and testcase are in different context level;
2, testset context will be initialized when a file is loaded, and testcase level context initializes when each testcase starts;
3, testcase context should inherit from testset context configs, and the testcase context has high priority.
2017-07-01 21:44:04 +08:00
httprunner
93a9872a6c make variables marker unified to be 2017-06-27 23:56:59 +08:00
httprunner
5ac8491c2d change testcase data structure, in order to distinguish config and test 2017-06-26 15:27:27 +08:00
httprunner
7396bcd853 Context: Manages binding of variables 2017-06-26 00:57:58 +08:00