debugtalk
c537a50cc0
**Added**
...
- feat: implement global hooks `setup_testcase/teardown_testcase`, called before/after each testcase
- feat: implement global hooks `setup_teststep/teardown_teststep`, called before/after each teststep
**Changed**
- remove default header `HRUN-Request-ID`, implement the same function with global hooks
2020-04-17 21:56:20 +08:00
fengyu
d513713ecf
增加#430修复代码测试案例
2019-11-05 19:08:07 +08:00
debugtalk
ff75c13543
change: remove unused imports
2019-10-04 23:12:20 +08:00
debugtalk
d65f3860b1
feat: config variables support parsing from function
2019-09-19 00:22:18 +08:00
debugtalk
708d26ee83
update modify_request_json
2019-02-20 11:51:30 +08:00
debugtalk
a1d55ed162
update parameterize feature:
...
def get_user_agent():
return ["iOS/10.1", "iOS/10.2"]
def get_account_in_tuple():
return [("user1", "111111"), ("user2", "222222")]
2018-12-17 20:19:01 +08:00
debugtalk
626612061e
remove debugtalk.py variables mechanism
2018-11-15 14:48:44 +08:00
debugtalk
badb473520
set_os_environ before parsing testcase, unset_os_environ after parsing testcase
2018-11-14 22:11:14 +08:00
debugtalk
d957e2564f
fix #368 : failed to load .env data in debugtalk.py
2018-08-31 16:29:13 +08:00
debugtalk
b3eede8762
fix #309 #312
2018-08-22 23:24:19 +08:00
debugtalk
fc473311ed
remove unused functions
2018-08-11 17:35:43 +08:00
debugtalk
c94e34e7f5
remove functions from utils
2018-08-11 17:29:48 +08:00
debugtalk
f071c02513
define httpbin host and port in one place
2018-08-02 11:29:01 +08:00
debugtalk
52448357d0
refactor teardown_hooks set attribute: remove response attributes interlayer
2018-07-27 12:10:45 +08:00
debugtalk
4c53150ebb
add TeardownHooksFailure exception
2018-07-27 11:41:59 +08:00
debugtalk
4771dd272e
bugfix: set repsonse attribute
2018-07-26 22:33:35 +08:00
debugtalk
696a393776
fix #255 : validate with custom functions
2018-06-11 21:52:21 +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
c9354b5293
remove setup_hook_httpntlmauth from built-in hooks
2018-05-14 15:09:11 +08:00
debugtalk
d8c1a66971
bugfix: modify request with setup_hooks
2018-05-14 14:29:26 +08:00
debugtalk
41be67b627
fix #173 : testset hook in config block
2018-05-11 00:44:08 +08:00
debugtalk
dcc1e70181
refactor hook mechanism:
...
1, remove EventHook;
2, setup_hooks: could reference request dict;
3, teardown_hooks: could reference Response object.
2018-05-10 13:40:47 +08:00
debugtalk
29ac00fabf
move tests/data/debugtalk.py to tests/debugtalk.py
2018-05-07 15:19:14 +08:00