Commit Graph

28 Commits

Author SHA1 Message Date
debugtalk
37d3034e0d deep_update_dict: update origin dict with override dict recursively 2017-07-04 18:28:08 +08:00
debugtalk
29b660b3db 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
debugtalk
9d68340eaa parse functions: add support for variable argument 2017-07-04 15:17:45 +08:00
debugtalk
b63e5cf41d add helpers to parse variable and functions 2017-07-04 14:45:03 +08:00
debugtalk
31a98501ca match_expected comparator: add len_gt, len_lt, len_ge, len_le, etc. 2017-06-30 17:04:20 +08:00
debugtalk
1efb0a497b bugfix: length equal 2017-06-30 16:57:56 +08:00
debugtalk
abcba302ae match_expected: add comparator str_len/string_length 2017-06-29 17:32:49 +08:00
debugtalk
c9de871485 bugfix: match_expected should raise ParamsError when comparator is not supported 2017-06-29 17:27:23 +08:00
debugtalk
2a904ec36a add comparators 2017-06-29 16:13:20 +08:00
debugtalk
6854607cf0 refactor: add extract_binds and validators 2017-06-29 15:27:26 +08:00
debugtalk
83ca01c0b5 query_json: Do an xpath-like query with json_content. 2017-06-28 21:25:28 +08:00
debugtalk
4250992ad9 move response relevant code to ate/response.py 2017-06-28 15:29:40 +08:00
debugtalk
12f20023b6 add unittest: test_parse_content_with_variables 2017-06-28 00:02:44 +08:00
debugtalk
acdd5599a4 load_testcases_by_path: make compatible with none exist path 2017-06-27 19:17:48 +08:00
debugtalk
c42c915b6d change import mode 2017-06-27 18:46:14 +08:00
debugtalk
cd63cd1c6a load_testcases_by_path: testset has a config dict and a testcases list 2017-06-27 11:57:26 +08:00
debugtalk
b5a61c8195 load_testcases_by_path: return testcase sets list, each testset is corresponding to a file 2017-06-26 20:57:22 +08:00
debugtalk
e269ce6671 load_testcases_by_path 2017-06-26 19:46:23 +08:00
debugtalk
df6960a805 change testcase data structure, in order to distinguish config and test 2017-06-26 15:27:27 +08:00
debugtalk
b0c188ce51 change demo testcase file name 2017-06-25 20:29:59 +08:00
debugtalk
22a9ca6289 diff http response: body 2017-06-21 17:20:50 +08:00
debugtalk
7043893b44 change varaible name: response content => response body 2017-06-21 16:03:12 +08:00
debugtalk
53989f826e diff http response: headers 2017-06-21 15:56:01 +08:00
debugtalk
1f5ff5502c apiserver: get_customized_response, including status code and headers 2017-06-21 13:39:08 +08:00
debugtalk
8479a82983 diff http response: status code 2017-06-21 12:17:51 +08:00
debugtalk
4d69342d40 parse_response_object: load response content as json format if possible 2017-06-20 20:24:38 +08:00
debugtalk
278aaff290 add parse_response_object 2017-06-20 20:06:36 +08:00
debugtalk
45351e3ba7 utils: testcases loader 2017-06-20 19:43:44 +08:00