httprunner
85bb37194d
refactor: query json content
2018-07-25 17:32:12 +08:00
httprunner
007cfd9d1b
remove exception type: ResponseFailure
2018-07-25 16:47:55 +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
b6e306fd38
validate all validators even if failed
2018-07-24 18:04:10 +08:00
httprunner
d198174ec0
display validators in report log
2018-07-19 23:56:24 +08:00
rock feng
522e2fa266
Update runner.py
2018-06-13 19:56:37 +08:00
rockfeng0
9e6fd7d3db
support-> {"extract": ["head_cookie": "request.headers.cookie"]}
2018-06-12 17:34:35 +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
3134cda648
fix typo error
2018-05-25 15:18:24 +08:00
httprunner
ae0e6e8049
bugfix: modify request with setup_hooks
2018-05-14 14:29:26 +08:00
httprunner
2900f5b955
fix #173 : testset hook in config block
2018-05-11 00:44:08 +08:00
httprunner
2bb84b3874
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
httprunner
1c7c65523e
bugfix #210 : SuiteNotFound
2018-05-07 12:10:20 +08:00
httprunner
7e263a0cbc
refactor testcase layer
2018-05-02 16:29:35 +08:00
httprunner
e80dc2b262
#169 : add builtin support for uploading files
2018-04-17 23:20:39 +08:00
httprunner
409f1e139f
print response text if failed to extract check item from response
2018-04-16 00:55:05 +08:00
httprunner
76e6724496
print raw request info, before hook calls
2018-03-27 16:21:37 +08:00
httprunner
33eb8ac897
define python source code encoding as utf-8
2018-03-27 12:07:46 +08:00
httprunner
de253cc772
add setup_hook_prepare_kwargs as default setup hook
2018-03-21 20:12:58 +08:00
httprunner
4879330b14
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
httprunner
f899a35218
relocate kwargs preparation
2018-03-13 21:05:27 +08:00
httprunner
091d676522
fix #104 : popup ids are the same in default template
2018-02-26 23:16:36 +08:00
httprunner
ea4a2c6d3f
extract meta data of request and bind it to testcase
2018-02-26 00:19:02 +08:00
httprunner
7d81db9c88
rename function name: _run_test => run_test
2018-02-25 23:32:36 +08:00
httprunner
3fd9f794f4
use httprunner/cli.py as debugging entrances
2018-02-22 00:24:10 +08:00
httprunner
e49214ec52
logging with colors
2018-02-21 12:32:14 +08:00
httprunner
842a3aeff5
remove return from _run_test
2018-02-19 23:41:37 +08:00
httprunner
151acd19be
refactor names: simplify functions
2018-02-16 01:41:16 +08:00
httprunner
6e4c48979a
evaluate testcase name
2018-02-16 00:48:14 +08:00
httprunner
1eebfbabfc
refactor: make test runner unified
2018-02-14 20:28:28 +08:00
httprunner
3f00769d3a
bugfix: add variable
2018-02-14 01:13:06 +08:00
httprunner
b247cd49bc
#96 : skip unless condition
2018-02-08 22:36:30 +08:00
httprunner
f17297b097
update docs
2018-02-08 17:54:40 +08:00
httprunner
da56d4dd1a
#96 : move skip check code to one place
2018-02-08 17:28:00 +08:00
httprunner
9042e6e72f
#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
httprunner
1f81623a66
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
httprunner
fc88377c4a
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
httprunner
5048a0785d
only output variables that are in variables_mapping
2018-02-07 10:36:25 +08:00
httprunner
85a76a12d2
#78 : merge extractors in test with api extractors
2018-01-16 20:36:27 +08:00
httprunner
488585fdc5
#78 : merge validators in test with api validators
2018-01-16 19:28:07 +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
32f95b0fa7
add print exception
2017-11-15 18:46:57 +08:00
httprunner
ad90b4c787
bugfix #53 : ensure teardown functions executed when test fail
2017-11-13 22:53:35 +08:00
httprunner
e8db476867
rename package name from ate to httprunner
2017-11-07 11:01:23 +08:00