Commit Graph

23 Commits

Author SHA1 Message Date
httprunner
d4048c066c fix #84: type_match invalid 2018-01-17 12:49:02 +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
6ac43e39ea #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
httprunner
ad90b4c787 bugfix #53: ensure teardown functions executed when test fail 2017-11-13 22:53:35 +08:00
httprunner
b262ae5e5e validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
httprunner
e8db476867 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
httprunner
4067328bf3 rename function name, resolve conflict with unittest 2017-11-02 13:32:51 +08:00
httprunner
5b0d28b8c6 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +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
05d390169a rename keyword: extract_binds => extractors 2017-10-24 15:40:59 +08:00
httprunner
102af87e61 runner: rename method name 2017-09-25 15:52:52 +08:00
httprunner
94b6202d2d runner: replace run_testsets method 2017-09-25 15:32:42 +08:00
httprunner
103dc8d724 rename functions 2017-09-22 14:31:23 +08:00
httprunner
041152c00f run_testset: add variables_mapping parameter 2017-09-19 17:07:07 +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
8c05afaed5 bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +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
4d471d7cda optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
httprunner
cd27f325eb optimize response validation 2017-08-02 13:33:07 +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