Commit Graph

47 Commits

Author SHA1 Message Date
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
e2a46501fb support validate with response time 2018-07-23 21:30:01 +08:00
debugtalk
95db6f22dd refactor report: split test suite to separate tables 2018-07-19 15:15:09 +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
4b9cc0a9bd refactor testcase layer 2018-05-02 16:29:35 +08:00
debugtalk
915294ebd3 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
debugtalk
c0e5678778 fix #139: hooks execution order 2018-04-24 17:00:58 +08:00
debugtalk
de14f2877b refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
debugtalk
b6450afd0b refactor lib function interface 2018-04-17 16:45:45 +08:00
debugtalk
2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +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
0568debaf1 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
debugtalk
f53baaf757 refactor parameterization:
parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
2018-03-07 16:21:51 +08:00
debugtalk
e8ce54864b rename function name: _run_test => run_test 2018-02-25 23:32:36 +08:00
debugtalk
160218b1ed 0.9.5:
1, remove PyUnitReport dependency;
2, add built-in html report;
3, support pass in html report template, in Jinja2 format.
2018-02-25 23:09:12 +08:00
debugtalk
8b0b7e7efd add HttpRunner class as interface 2018-02-24 17:45:45 +08:00
debugtalk
90719db8de remove return from _run_test 2018-02-19 23:41:37 +08:00
debugtalk
56cf359810 new feature: support parameters and data driven 2018-02-15 22:53:56 +08:00
debugtalk
2f83777d9a rename function 2018-02-14 22:05:11 +08:00
debugtalk
be941250f6 add test result stat 2018-02-14 21:12:31 +08:00
debugtalk
a0ace0ee76 refactor: make test runner unified 2018-02-14 20:28:28 +08:00
debugtalk
c40a208024 fix #84: type_match invalid 2018-01-17 12:49:02 +08:00
debugtalk
921edae7d3 fix #64: when headers in test is None, it should inherit from config 2017-12-23 12:41:00 +08:00
debugtalk
d079f014d9 #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
debugtalk
f9e9f75f05 bugfix #53: ensure teardown functions executed when test fail 2017-11-13 22:53:35 +08:00
debugtalk
3af67a31cc validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
debugtalk
9d50b1635c rename function name, resolve conflict with unittest 2017-11-02 13:32:51 +08:00
debugtalk
5fd4e28d34 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +08:00
debugtalk
0158e98c8b rename validators to validate 2017-11-01 14:43:28 +08:00
debugtalk
9bd28653f6 rename extractor/extractors to extract 2017-11-01 14:30:36 +08:00
debugtalk
7b64b8233b rename keyword: extract_binds => extractors 2017-10-24 15:40:59 +08:00
debugtalk
efa4a9c794 runner: rename method name 2017-09-25 15:52:52 +08:00
debugtalk
f430ade7c3 runner: replace run_testsets method 2017-09-25 15:32:42 +08:00
debugtalk
8d2d52b192 rename functions 2017-09-22 14:31:23 +08:00
debugtalk
0181e61ab8 run_testset: add variables_mapping parameter 2017-09-19 17:07:07 +08:00
debugtalk
3792da8105 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
debugtalk
611acf528a bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
debugtalk
cd20b0a8dc new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
debugtalk
57b1f35e4d optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
debugtalk
297dabca60 optimize response validation 2017-08-02 13:33:07 +08:00
debugtalk
f94f57d102 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
debugtalk
f41729094a 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
debugtalk
31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00