Commit Graph

47 Commits

Author SHA1 Message Date
debugtalk
29ac00fabf move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
debugtalk
37a6615791 fix Python version compability 2018-05-03 16:04:58 +08:00
debugtalk
4b9cc0a9bd refactor testcase layer 2018-05-02 16:29:35 +08:00
debugtalk
915294ebd3 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
debugtalk
3eb3a0eb57 add test for type_match comparator #94 2018-03-27 22:56:58 +08:00
debugtalk
261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
debugtalk
8312aa742a lower all keys in request headers 2018-02-24 15:28:27 +08:00
debugtalk
c40a208024 fix #84: type_match invalid 2018-01-17 12:49:02 +08:00
debugtalk
921edae7d3 fix #64: when headers in test is None, it should inherit from config 2017-12-23 12:41:00 +08:00
debugtalk
eae9a85647 #29: refactor validator, now support custom defined validators 2017-12-12 20:06:54 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
debugtalk
36e7c7e4cf update lower_dict_keys, avoid mistakes in OrderDict 2017-11-03 12:55:23 +08:00
debugtalk
5a61e15595 add remove_prefix utils 2017-11-02 18:42:26 +08:00
debugtalk
5fd4e28d34 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +08:00
debugtalk
70853efe46 add testcase content check 2017-11-02 11:49:43 +08:00
debugtalk
86a6c92f90 create scaffold 2017-09-25 19:33:49 +08:00
debugtalk
eaf080212c load_folder_files: support passing in folder list 2017-09-22 19:14:28 +08:00
debugtalk
8d2d52b192 rename functions 2017-09-22 14:31:23 +08:00
debugtalk
7aefc7a13b refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
debugtalk
0bd73238d4 fix: handle the case when variable_binds is OrderedDict or some other data structure 2017-09-20 22:14:52 +08:00
debugtalk
c3582a59b6 lower_config_dict_key: add test for config['request'] is not dict 2017-09-20 21:17:20 +08:00
debugtalk
f38b63d240 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
debugtalk
99da071fba refactor handling binds data structure 2017-09-19 18:10:54 +08:00
debugtalk
611acf528a bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
debugtalk
cd20b0a8dc new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
debugtalk
479f0e5860 refactor load_folder_files: change filter behavior 2017-09-18 11:45:12 +08:00
debugtalk
83bcc27133 lower testcase key 2017-09-13 16:17:21 +08:00
luowentao
7bffdda3aa refactor: fix typos 2017-09-11 20:44:57 +08:00
debugtalk
77047f3671 bugfix: imported module should not be considered as variable 2017-09-01 19:01:34 +08:00
debugtalk
83ee357ade search and filter module variables 2017-09-01 15:21:04 +08:00
debugtalk
f9aaffce0e search expected function recursive upward 2017-08-31 12:25:36 +08:00
debugtalk
c16120e2aa save testcase file path in testset config 2017-08-30 16:54:55 +08:00
debugtalk
bf117b671c filter if files do not include testcases 2017-08-30 12:18:32 +08:00
debugtalk
8e9e9d6c57 add match filter to load_foler_files 2017-08-30 12:15:44 +08:00
debugtalk
223cb20f72 bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
debugtalk
2212226662 bugfix #31: comparator endswith 2017-08-22 17:51:31 +08:00
debugtalk
4697a53820 make comparator classified 2017-08-03 23:56:05 +08:00
debugtalk
e40056cb4f bugfix: comparison with None should raise exception in Python 2.7 2017-08-02 16:44:51 +08:00
debugtalk
14e744c962 bugfix: TypeError in match_expected 2017-08-02 15:21:37 +08:00
debugtalk
57b1f35e4d optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
debugtalk
0dd18466b3 optimize exception type 2017-08-02 14:19:14 +08:00
debugtalk
6cc2fde85d restructure code: move code related to testcase from ate/utils.py to ate/testcase.py 2017-07-31 22:51:28 +08:00
debugtalk
13a53681ed 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
debugtalk
65ae5b83df #9: add unittest for string with multiple identical variables 2017-07-31 16:01:14 +08:00
debugtalk
460dd557d8 bugfix #9: handle string content with multiple variables. 2017-07-30 16:18:11 +08:00
debugtalk
f94f57d102 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
debugtalk
31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00