luowentao
|
7bffdda3aa
|
refactor: fix typos
|
2017-09-11 20:44:57 +08:00 |
|
debugtalk
|
1f44b1997d
|
bugfix: private property should be _single_leading_underscore
|
2017-09-04 11:35:02 +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
|
ad58e2915f
|
separate get_imported_module
|
2017-08-31 11:06:11 +08:00 |
|
debugtalk
|
74c97a9ccb
|
relocate functions
|
2017-08-31 10:35:05 +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
|
459f5abc6b
|
bugfix: numeric types should include long and complex
|
2017-08-29 18:10:55 +08:00 |
|
debugtalk
|
68622f7843
|
fix travis-ci job 152
|
2017-08-29 14:57:27 +08:00 |
|
debugtalk
|
223cb20f72
|
bugfix #34: handle exception when response content is empty
|
2017-08-29 14:44:44 +08:00 |
|
debugtalk
|
c603db849d
|
fix pep8
|
2017-08-23 15:42:47 +08:00 |
|
debugtalk
|
2212226662
|
bugfix #31: comparator endswith
|
2017-08-22 17:51:31 +08:00 |
|
debugtalk
|
a871bcf837
|
bugfix: Python2 does not support encoding parameter in open function; use codecs.open instead.
|
2017-08-17 21:56:43 +08:00 |
|
debugtalk
|
c716be0df6
|
bugfix: open file with utf-8 encoding
|
2017-08-17 17:15:41 +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
|
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
|
a5bb50e32d
|
bugfix: variable name and function name could have _
|
2017-07-20 12:24:44 +08:00 |
|
debugtalk
|
b7659b2ad4
|
add match method: startswith
|
2017-07-05 15:14:10 +08:00 |
|
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
|
d065864e4b
|
change method of checking python version
|
2017-06-29 15:39:14 +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
|
887845493d
|
make variables marker unified to be
|
2017-06-27 23:56:59 +08:00 |
|
debugtalk
|
acdd5599a4
|
load_testcases_by_path: make compatible with none exist path
|
2017-06-27 19:17:48 +08:00 |
|
debugtalk
|
545911b679
|
load_testcases_by_path: ignore file path that is not JSON or YAML
|
2017-06-27 18:30:09 +08:00 |
|
debugtalk
|
2531cc3920
|
update function doc strings
|
2017-06-27 16:14:31 +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
|
52bc344f66
|
gen_md5: pass in *args
|
2017-06-24 19:44:40 +08:00 |
|
debugtalk
|
b90dabf151
|
bugfix: In Python3, convert request.data(bytes) to str first
|
2017-06-24 12:13:27 +08:00 |
|