Commit Graph

18 Commits

Author SHA1 Message Date
debugtalk
02dc813779 bugfix: when a variable binds to None, it should not raise exception 2017-08-03 12:02:37 +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
297dabca60 optimize response validation 2017-08-02 13:33:07 +08:00
debugtalk
1535351548 call function anywhere in testcase 2017-08-01 11:33:31 +08:00
debugtalk
5f6181f156 simplify tests 2017-07-31 22:57:00 +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
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
9cca73155c update demo testset: change position of variable binds 2017-07-23 11:29:48 +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
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
31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00