Commit Graph

106 Commits

Author SHA1 Message Date
debugtalk
1f55252844 bugfix: remove return value, otherwise jenkins job will consider it as failure 2017-08-03 10:53:33 +08:00
debugtalk
a4bbdb4f81 add jenkins-mail-py to support mail test result 2017-08-02 23:58:00 +08:00
debugtalk
5291586053 add test result flag 2017-08-02 23:30:54 +08:00
debugtalk
131442b5e6 collect test result 2017-08-02 17:36:03 +08:00
debugtalk
e40056cb4f bugfix: comparison with None should raise exception in Python 2.7 2017-08-02 16:44:51 +08:00
debugtalk
c061265d9e add parser argument failfast 2017-08-02 15:34: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
297dabca60 optimize response validation 2017-08-02 13:33:07 +08:00
debugtalk
d413d49c58 remove termcolor 2017-08-02 11:37:40 +08:00
debugtalk
7ad9d68252 update version to 0.3.0 2017-07-31 22:59:04 +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
94f3bfc00b bugfix #9: handle string content with multiple identical variables. 2017-07-31 22:26:09 +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
abb1882ca6 specify run times in testcase 2017-07-27 14:44:32 +08:00
debugtalk
9669640949 Stop the test run on the first error or failure. 2017-07-24 22:16:15 +08:00
debugtalk
4468df05ab update tag to 0.2.2 2017-07-24 18:16:07 +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
8c58e87fd8 bugfix: testset_shared_variables_mapping should be OrderedDict 2017-07-21 17:04:27 +08:00
debugtalk
d90c6165f2 change context variable name 2017-07-21 09:26:33 +08:00
debugtalk
f41729094a refactor variable context:
1, variable context has two level, testset and testcase;
2, testset level variables can be used in whole test suite, while testcase level variables can only be used in testcase;
3, when variable binds with functions, the funtions will be called and the result will be set to the variable.
2017-07-20 22:43:18 +08:00
debugtalk
a5bb50e32d bugfix: variable name and function name could have _ 2017-07-20 12:24:44 +08:00
debugtalk
9e154cea97 make custom module importable anywhere 2017-07-20 10:32:58 +08:00
debugtalk
2179092ea7 change method to specify testset path 2017-07-19 23:29:29 +08:00
debugtalk
8b27fd21f5 add command argument: show version 2017-07-19 21:24:37 +08:00
debugtalk
4c1f0d9965 add setup 2017-07-19 19:10:11 +08:00
debugtalk
c563237ca3 change with PyUnitReport 2017-07-19 19:06:02 +08:00
debugtalk
ef769ca668 split ate/main.py to ate/cli.py and ate/task.py 2017-07-19 15:49:15 +08:00
debugtalk
093bf31864 add report_name argument to specify report name, if not specified, use current time as default 2017-07-17 18:36:23 +08:00
debugtalk
b4836a807a set testcase filename as output folder name 2017-07-14 17:34:05 +08:00
debugtalk
c87a2f52af bugfix: make compatible with None field in testcase 2017-07-14 15:41:44 +08:00
debugtalk
658920f8b2 add custom functions: gen_urlencode_str, get_timestamp 2017-07-14 15:16:47 +08:00
debugtalk
a5364843d6 generate html test report with HtmlTestRunner 2017-07-14 12:44:44 +08:00
debugtalk
8e3aa461aa optimize Runner initialization 2017-07-07 14:49:17 +08:00
debugtalk
b7659b2ad4 add match method: startswith 2017-07-05 15:14:10 +08:00
debugtalk
7fbacea3c2 bugfix: update testset request config with testcase request config recursively 2017-07-04 18:29:24 +08:00
debugtalk
37d3034e0d deep_update_dict: update origin dict with override dict recursively 2017-07-04 18:28:08 +08:00
debugtalk
da191032b1 bugfix: initialize context before each test 2017-07-04 17:37:47 +08:00
debugtalk
d881b8e632 bugfix: correct kwargs key name 2017-07-04 17:05:17 +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
a409beb548 specify logging level from CLI 2017-07-03 16:40:59 +08:00
debugtalk
f833fe9143 set base_url in testset config.request 2017-07-03 16:33:44 +08:00
debugtalk
6887bb7c08 change class name, TestRunner -> Runner 2017-07-03 16:03:37 +08:00
debugtalk
f6477fd6be change method name 2017-07-03 16:02:16 +08:00
debugtalk
e46c376674 HttpSession can be called with full url or with only path 2017-07-03 12:48:18 +08:00
debugtalk
f32578bbb8 move HttpNtlmAuth from runner to client 2017-07-03 12:13:56 +08:00