Commit Graph

83 Commits

Author SHA1 Message Date
httprunner
00d427c2c3 update lower_dict_keys, avoid mistakes in OrderDict 2017-11-03 12:55:23 +08:00
httprunner
fdde85c1bd make logging string unicode 2017-11-02 20:40:56 +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
fa82c26e9f rename keyword: variable_binds => variables 2017-10-24 15:59:09 +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
54286500ee print_output defaults to debug level 2017-09-21 15:59:13 +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
cf6c7e1a76 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
httprunner
c212c0853c bugfix: UnicodeEncodeError in 3.4+ 2017-09-20 15:49:30 +08:00
httprunner
07daa2b781 bugfix: UnicodeEncodeError when value is in Chinese 2017-09-20 15:01:19 +08:00
httprunner
9161e48844 move print_output function from runner.py to utils.py 2017-09-19 23:27:38 +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
httprunner
24e47f5762 Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-11 23:48:57 +08:00
luowentao
2b95289bea refactor: fix typos 2017-09-11 20:44:57 +08:00
httprunner
e226724d74 fix variable name 2017-09-07 16:47:04 +08:00
httprunner
cdae396fd2 bugfix: private property should be _single_leading_underscore 2017-09-04 11:35:02 +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
b1f3ba34e8 separate get_imported_module 2017-08-31 11:06:11 +08:00
httprunner
4f154c5d88 relocate functions 2017-08-31 10:35:05 +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
5e7905e51c bugfix: numeric types should include long and complex 2017-08-29 18:10:55 +08:00
httprunner
953a1d54ca fix travis-ci job 152 2017-08-29 14:57:27 +08:00
httprunner
1080d620bd bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
httprunner
accff05ce0 fix pep8 2017-08-23 15:42:47 +08:00
httprunner
2e9da796ef bugfix #31: comparator endswith 2017-08-22 17:51:31 +08:00
httprunner
73dd8128fa bugfix: Python2 does not support encoding parameter in open function; use codecs.open instead. 2017-08-17 21:56:43 +08:00
httprunner
78ac4049c1 bugfix: open file with utf-8 encoding 2017-08-17 17:15:41 +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
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
da04c8793e bugfix: variable name and function name could have _ 2017-07-20 12:24:44 +08:00