Commit Graph

20 Commits

Author SHA1 Message Date
debugtalk
6c7e1be517 refactor: extract content/text/json 2018-07-25 16:10:45 +08:00
debugtalk
c33b81a2b7 refactor: extract headers 2018-07-25 12:18:33 +08:00
debugtalk
a2bd9c2574 refactor: extract elapsed 2018-07-25 12:04:07 +08:00
debugtalk
0b92b38143 refactor: extract cookie 2018-07-25 11:47:10 +08:00
debugtalk
22632d7110 refactor: extract status_code 2018-07-25 11:25:12 +08:00
debugtalk
4a87af51e7 rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
debugtalk
7478331cb5 group exceptions to 2 types: failure and error 2018-07-25 10:40:20 +08:00
debugtalk
0b3c6665c2 1.4.5:
1, refactor ResponseObject;
2, response can be modified in teardown_hooks.
2018-05-31 00:36:10 +08:00
debugtalk
d079f014d9 #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
debugtalk
eae9a85647 #29: refactor validator, now support custom defined validators 2017-12-12 20:06:54 +08:00
debugtalk
3af67a31cc validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
debugtalk
bd8540622d extractor: add support to extract value from html text with regex string 2017-10-31 23:26:38 +08:00
debugtalk
cb7bb253da make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
debugtalk
223cb20f72 bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +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
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