Commit Graph

17 Commits

Author SHA1 Message Date
httprunner
aff69944b8 refactor: extract cookie 2018-07-25 11:47:10 +08:00
httprunner
d5616b3a16 refactor: extract status_code 2018-07-25 11:25:12 +08:00
httprunner
3c17aa649c rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
httprunner
e6a834c6c6 group exceptions to 2 types: failure and error 2018-07-25 10:40:20 +08:00
httprunner
89cc9a2d1e 1.4.5:
1, refactor ResponseObject;
2, response can be modified in teardown_hooks.
2018-05-31 00:36:10 +08:00
httprunner
6ac43e39ea #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
httprunner
155ad0167e #29: refactor validator, now support custom defined validators 2017-12-12 20:06:54 +08:00
httprunner
b262ae5e5e validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
httprunner
e8db476867 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
httprunner
577cb01dcf extractor: add support to extract value from html text with regex string 2017-10-31 23:26:38 +08:00
httprunner
c53ff6992b make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
httprunner
1080d620bd bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +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
cd27f325eb optimize response validation 2017-08-02 13:33:07 +08:00
httprunner
4849a25ea2 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
httprunner
95649800e1 rename test folder to tests 2017-07-20 11:18:09 +08:00