Commit Graph

36 Commits

Author SHA1 Message Date
httprunner
00d427c2c3 update lower_dict_keys, avoid mistakes in OrderDict 2017-11-03 12:55:23 +08:00
httprunner
e08e3d5299 add remove_prefix utils 2017-11-02 18:42:26 +08:00
httprunner
5b0d28b8c6 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +08:00
httprunner
eac1173cd7 add testcase content check 2017-11-02 11:49:43 +08:00
httprunner
c7df184af2 create scaffold 2017-09-25 19:33:49 +08:00
httprunner
2513886863 load_folder_files: support passing in folder list 2017-09-22 19:14:28 +08:00
httprunner
103dc8d724 rename functions 2017-09-22 14:31:23 +08:00
httprunner
6ef46224f6 refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
httprunner
0ac4ed4bc8 fix: handle the case when variable_binds is OrderedDict or some other data structure 2017-09-20 22:14:52 +08:00
httprunner
ffed8c38a2 lower_config_dict_key: add test for config['request'] is not dict 2017-09-20 21:17:20 +08:00
httprunner
cf6c7e1a76 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
httprunner
6085dd407d refactor handling binds data structure 2017-09-19 18:10:54 +08:00
httprunner
8c05afaed5 bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
httprunner
cb2555291c new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
httprunner
999625635d refactor load_folder_files: change filter behavior 2017-09-18 11:45:12 +08:00
httprunner
93d4a78210 lower testcase key 2017-09-13 16:17:21 +08:00
luowentao
2b95289bea refactor: fix typos 2017-09-11 20:44:57 +08:00
httprunner
c8543e51ea bugfix: imported module should not be considered as variable 2017-09-01 19:01:34 +08:00
httprunner
9e3b9c47cd search and filter module variables 2017-09-01 15:21:04 +08:00
httprunner
660549dc23 search expected function recursive upward 2017-08-31 12:25:36 +08:00
httprunner
371fa8582b save testcase file path in testset config 2017-08-30 16:54:55 +08:00
httprunner
19a5580d34 filter if files do not include testcases 2017-08-30 12:18:32 +08:00
httprunner
cbb2dcdcb3 add match filter to load_foler_files 2017-08-30 12:15:44 +08:00
httprunner
1080d620bd bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
httprunner
2e9da796ef bugfix #31: comparator endswith 2017-08-22 17:51:31 +08:00
httprunner
dfba8143ee make comparator classified 2017-08-03 23:56:05 +08:00
httprunner
393fea8d84 bugfix: comparison with None should raise exception in Python 2.7 2017-08-02 16:44:51 +08:00
httprunner
74d653f94d bugfix: TypeError in match_expected 2017-08-02 15:21:37 +08:00
httprunner
4d471d7cda optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
httprunner
a18c7bc62f optimize exception type 2017-08-02 14:19:14 +08:00
httprunner
5267d4f5e5 restructure code: move code related to testcase from ate/utils.py to ate/testcase.py 2017-07-31 22:51:28 +08:00
httprunner
233978007e bugfix: when the bind value of variable is not in string type, it should be converted to string first, or it will raise TypeError in replace function 2017-07-31 21:04:19 +08:00
httprunner
46fe02a6cd #9: add unittest for string with multiple identical variables 2017-07-31 16:01:14 +08:00
httprunner
c3856f7599 bugfix #9: handle string content with multiple variables. 2017-07-30 16:18:11 +08:00
httprunner
16307e2ebe refactor mock server:
1, remove authentication switcher;
2, change authentication method: from verify request data's md5 to get token at the beginning.
2017-07-22 15:15:05 +08:00
httprunner
95649800e1 rename test folder to tests 2017-07-20 11:18:09 +08:00