httprunner
f8569aad91
new feature: support parameters and data driven
2018-02-15 22:53:56 +08:00
httprunner
b247cd49bc
#96 : skip unless condition
2018-02-08 22:36:30 +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
5bbbdc1997
bugfix #96 skip feature: display skip testcases number corretly
2018-02-08 12:55:23 +08:00
httprunner
1f81623a66
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
httprunner
d4048c066c
fix #84 : type_match invalid
2018-01-17 12:49:02 +08:00
httprunner
488585fdc5
#78 : merge validators in test with api validators
2018-01-16 19:28:07 +08:00
httprunner
18fbffed87
fix #64 : when headers in test is None, it should inherit from config
2017-12-23 12:41:00 +08:00
httprunner
5fb87f00f6
update tests for custom validator
2017-12-13 16:29:42 +08:00
httprunner
7a45b4078b
#52 : validator expect field support reference variable
2017-12-13 01:22:43 +08:00
httprunner
ca9f793fb3
validator: check item support reference variable
2017-12-13 01:12:57 +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
8c19212c6f
support new validator format, e.g. {'eq': ['status_code', 200]}
2017-12-12 12:08:55 +08:00
httprunner
b262ae5e5e
validate: set expect as alias for expected
2017-11-13 20:56:46 +08:00
httprunner
49797c51fd
rename validators to validate
2017-11-01 14:43:28 +08:00
httprunner
62c64e9309
rename extractor/extractors to extract
2017-11-01 14:30:36 +08:00
httprunner
fa82c26e9f
rename keyword: variable_binds => variables
2017-10-24 15:59:09 +08:00
httprunner
05d390169a
rename keyword: extract_binds => extractors
2017-10-24 15:40:59 +08:00
httprunner
890bc2035c
update tests
2017-09-28 22:57:25 +08:00
httprunner
6ef46224f6
refactor api loading behavior: api should be located in /tests/api/ folder
2017-09-21 20:54:06 +08:00
httprunner
4197ed26ca
add output:
...
1, change return value of running testset;
2, print extracted variables at the end of testset.
2017-09-19 15:24:11 +08:00
httprunner
1262d92816
subsititue api call args
2017-09-18 21:53:22 +08:00
httprunner
cb2555291c
new feature: testcases can be layered, now we can define interface in api block individually
2017-09-18 15:21:50 +08:00
httprunner
8d568d9e0d
request in config should also be parsed
2017-09-12 22:32:52 +08:00
httprunner
1013971cf9
hot plugin support: search variables recursive upward from testset file
2017-09-04 11:22:43 +08:00
httprunner
34d0c6a1e8
rename fixture module name
2017-08-29 22:12:08 +08:00
httprunner
70bdbb90e1
#36 : add debugtalk.py local per-directory plugins
2017-08-29 21:33:02 +08:00
httprunner
5829e8d21b
call function anywhere in testcase
2017-08-01 11:33:31 +08:00
httprunner
0674d6ab33
update demo testset: change position of variable binds
2017-07-23 11:29:48 +08:00
httprunner
16307e2ebe
refactor mock server:
...
1, remove authentication switcher;
2, change authentication method: from verify request data's md5 to get token at the beginning.
2017-07-22 15:15:05 +08:00
httprunner
4849a25ea2
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
httprunner
95649800e1
rename test folder to tests
2017-07-20 11:18:09 +08:00