Commit Graph

33 Commits

Author SHA1 Message Date
debugtalk
626612061e remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
debugtalk
6bb9088a0b fix unittest for httpbin response time 2018-09-10 07:51:48 +08:00
debugtalk
adf09a27e0 fix unittest 2018-09-06 11:52:06 +08:00
debugtalk
c94e34e7f5 remove functions from utils 2018-08-11 17:29:48 +08:00
debugtalk
db3e1a2ae9 replace filter_module with load_python_module 2018-08-09 00:23:09 +08:00
debugtalk
33120fb183 remove get_imported_module 2018-08-08 14:31:20 +08:00
debugtalk
38a6bb1227 fix unstability in unittest 2018-08-03 23:42:20 +08:00
debugtalk
c9fbceb92c bugfix: make compatible with Python 2.7 2018-08-02 13:34:12 +08:00
debugtalk
ee610a26a5 fix #279 #288: do not install httpbin as default, make compatible with Windows 2018-08-02 11:44:49 +08:00
debugtalk
f071c02513 define httpbin host and port in one place 2018-08-02 11:29:01 +08:00
debugtalk
9aeb64c5a0 refactor: extract field 2018-07-25 19:13:56 +08:00
debugtalk
dee51b6682 refactor: query json content 2018-07-25 17:32:12 +08:00
debugtalk
b88b66b904 refactor: extract encoding/ok/reason/url 2018-07-25 16:22:08 +08:00
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