debugtalk
fd8c1682e4
merge with master
2018-08-02 14:09:15 +08:00
debugtalk
3bc4c9b3dc
fix #327 : handle teardown hooks when exception occured in initilization
2018-08-02 10:22:38 +08:00
debugtalk
cc60f2bf20
add TODO: check hook function if valid
2018-07-30 15:38:39 +08:00
debugtalk
4c53150ebb
add TeardownHooksFailure exception
2018-07-27 11:41:59 +08:00
debugtalk
9f7cde2707
deprecate function_binds
2018-07-26 15:23:03 +08:00
debugtalk
54e151e468
deprecate requires
2018-07-26 15:17:50 +08:00
debugtalk
a8d8b26914
deprecate import_module_items
2018-07-26 15:08:04 +08:00
debugtalk
7d7fbfbb70
update log
2018-07-26 12:00:47 +08:00
debugtalk
e3d17d27d1
bugfix: UnicodeDecodeError in Python2.7
2018-07-26 11:46:46 +08:00
debugtalk
62bc08dde6
update error message
2018-07-26 00:09:41 +08:00
debugtalk
aea172385d
bugfix: check HTTP method before request
2018-07-25 19:43:54 +08:00
debugtalk
dee51b6682
refactor: query json content
2018-07-25 17:32:12 +08:00
debugtalk
fe9d5c497b
remove exception type: ResponseFailure
2018-07-25 16:47:55 +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
6ae173d637
validate all validators even if failed
2018-07-24 18:04:10 +08:00
debugtalk
4ab3666b52
display validators in report log
2018-07-19 23:56:24 +08:00
rock feng
9cd7d92dce
Update runner.py
2018-06-13 19:56:37 +08:00
rockfeng0
40cb2dcac6
support-> {"extract": ["head_cookie": "request.headers.cookie"]}
2018-06-12 17:34:35 +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
1c933078b4
fix typo error
2018-05-25 15:18:24 +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
cb57e4bec2
bugfix #210 : SuiteNotFound
2018-05-07 12:10:20 +08:00
debugtalk
4b9cc0a9bd
refactor testcase layer
2018-05-02 16:29:35 +08:00
debugtalk
ffff6fef52
#169 : add builtin support for uploading files
2018-04-17 23:20:39 +08:00
debugtalk
f4f13f682d
print response text if failed to extract check item from response
2018-04-16 00:55:05 +08:00
debugtalk
7d15096974
print raw request info, before hook calls
2018-03-27 16:21:37 +08:00
debugtalk
94db1acc80
define python source code encoding as utf-8
2018-03-27 12:07:46 +08:00
debugtalk
6d05ac32dc
add setup_hook_prepare_kwargs as default setup hook
2018-03-21 20:12:58 +08:00
debugtalk
8c618d2325
add hook feature:
...
1, setup_hook: call function before request
2, teardown_hook: call function after request
2018-03-14 11:57:35 +08:00
debugtalk
9044bfb971
relocate kwargs preparation
2018-03-13 21:05:27 +08:00
debugtalk
b3d4eecdfd
fix #104 : popup ids are the same in default template
2018-02-26 23:16:36 +08:00
debugtalk
02d41c4e51
extract meta data of request and bind it to testcase
2018-02-26 00:19:02 +08:00
debugtalk
e8ce54864b
rename function name: _run_test => run_test
2018-02-25 23:32:36 +08:00
debugtalk
345c77125b
use httprunner/cli.py as debugging entrances
2018-02-22 00:24:10 +08:00
debugtalk
7c2b9a6eaa
logging with colors
2018-02-21 12:32:14 +08:00
debugtalk
90719db8de
remove return from _run_test
2018-02-19 23:41:37 +08:00
debugtalk
ec77183aa1
refactor names: simplify functions
2018-02-16 01:41:16 +08:00
debugtalk
182fbb6aeb
evaluate testcase name
2018-02-16 00:48:14 +08:00
debugtalk
a0ace0ee76
refactor: make test runner unified
2018-02-14 20:28:28 +08:00
debugtalk
39ca2cdaa8
bugfix: add variable
2018-02-14 01:13:06 +08:00
debugtalk
3936b82a52
#96 : skip unless condition
2018-02-08 22:36:30 +08:00
debugtalk
dab401e07a
update docs
2018-02-08 17:54:40 +08:00
debugtalk
804bfd48c7
#96 : move skip check code to one place
2018-02-08 17:28:00 +08:00
debugtalk
c504f305f1
#96 : refactor skip feature:
...
1, with skip keyword, skip current test unconditionally;
2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
2018-02-08 15:59:17 +08:00
debugtalk
4fbc414e87
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
debugtalk
8b039d3b1e
fix #96 : add skip feature
...
1, skip=True is equal to times=0;
2, skip priority is higher than times.
2018-02-07 11:26:28 +08:00
debugtalk
c8507f8f60
only output variables that are in variables_mapping
2018-02-07 10:36:25 +08:00