Commit Graph

19 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
afff81ab6d fix testcase name 2017-07-03 23:50:01 +08:00
httprunner
4bb6d3f526 set base_url in testset config.request 2017-07-03 16:33:44 +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
434e82f95e add support for import module custom functions 2017-06-30 13:24:00 +08:00
httprunner
87ef0b3cd6 change validators from dict to list, as there may be several tests on one filed 2017-06-29 18:15:28 +08:00
httprunner
bfa2227d10 do not need to config extract_binds if only want to validate results 2017-06-29 17:19:06 +08:00
httprunner
67a5de3575 refactor: add extract_binds and validators 2017-06-29 15:27:26 +08:00
httprunner
93a9872a6c make variables marker unified to be 2017-06-27 23:56:59 +08:00
httprunner
378147a83b TestRunner: testsets can be configured in public config 2017-06-26 15:47:45 +08:00
httprunner
5ac8491c2d change testcase data structure, in order to distinguish config and test 2017-06-26 15:27:27 +08:00
httprunner
967f2bbc3f TestRunner: run testcase writen in separate template 2017-06-26 11:51:08 +08:00
httprunner
7396bcd853 Context: Manages binding of variables 2017-06-26 00:57:58 +08:00
httprunner
6a578e7851 change demo testcase file name 2017-06-25 20:29:59 +08:00
httprunner
dc7d14439d add testcases for TestRunner, with authentication enabled 2017-06-24 16:29:55 +08:00
httprunner
50f5373c41 TestRunner: add testcase suite writen in YAML 2017-06-21 19:17:29 +08:00
httprunner
3b380bf464 TestRunner: run testcase suite 2017-06-21 18:43:15 +08:00
httprunner
0fd8f95e34 utils: testcases loader 2017-06-20 19:43:44 +08:00