Commit Graph

65 Commits

Author SHA1 Message Date
httprunner
98ada8c84f fix #343: locate debugtalk.py and use as project working directory 2018-08-23 13:03:42 +08:00
httprunner
dd0f8b0144 refactor context 2018-08-22 16:45:47 +08:00
httprunner
79e53e0fb6 refactor: pipeline 2018-08-21 17:39:12 +08:00
httprunner
b665ad79ef refactor loader: load testcases 2018-08-12 01:25:28 +08:00
httprunner
b92c234951 remove functions from utils 2018-08-11 17:29:48 +08:00
httprunner
3983890e50 increase response time to ensure unittest passed 2018-08-09 10:42:39 +08:00
httprunner
c823777900 refactor load_testcases function name 2018-08-04 23:58:07 +08:00
httprunner
43c5331415 merge with master 2018-08-02 14:09:15 +08:00
httprunner
fd1a722897 fix #279 #288: do not install httpbin as default, make compatible with Windows 2018-08-02 11:44:49 +08:00
httprunner
61deb3ab9d define httpbin host and port in one place 2018-08-02 11:29:01 +08:00
httprunner
95809c635d add unit test: set response attribute to json data 2018-07-30 15:47:43 +08:00
httprunner
8ebb4bc638 relocate test suite loader 2018-07-30 00:11:04 +08:00
httprunner
7450c76a19 relocate file loader 2018-07-29 22:40:00 +08:00
httprunner
35006a313e refactor teardown_hooks set attribute: remove response attributes interlayer 2018-07-27 12:10:45 +08:00
httprunner
bc56a7501b add TeardownHooksFailure exception 2018-07-27 11:41:59 +08:00
httprunner
3a2e07afcb bugfix: set repsonse attribute 2018-07-26 22:33:35 +08:00
httprunner
f3ef2ec821 update test data filename 2018-07-26 15:27:39 +08:00
httprunner
adb72e7d75 deprecate requires 2018-07-26 15:17:50 +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
705df59ca1 support validate with response time 2018-07-23 21:30:01 +08:00
httprunner
834154cc4e refactor report: split test suite to separate tables 2018-07-19 15:15:09 +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
7e263a0cbc refactor testcase layer 2018-05-02 16:29:35 +08:00
httprunner
d8ae4c0660 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
httprunner
99d66db9b2 fix #139: hooks execution order 2018-04-24 17:00:58 +08:00
httprunner
5dfdd6ad93 refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
httprunner
efaf4365b2 refactor lib function interface 2018-04-17 16:45:45 +08:00
httprunner
5219f7800f fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +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
6ca5e63377 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
httprunner
96fc410234 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
httprunner
7d81db9c88 rename function name: _run_test => run_test 2018-02-25 23:32:36 +08:00
httprunner
589d13b725 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
httprunner
ee2d15f42e add HttpRunner class as interface 2018-02-24 17:45:45 +08:00
httprunner
842a3aeff5 remove return from _run_test 2018-02-19 23:41:37 +08:00
httprunner
f8569aad91 new feature: support parameters and data driven 2018-02-15 22:53:56 +08:00
httprunner
1db17cbd47 rename function 2018-02-14 22:05:11 +08:00
httprunner
8aa25023a3 add test result stat 2018-02-14 21:12:31 +08:00
httprunner
1eebfbabfc refactor: make test runner unified 2018-02-14 20:28:28 +08:00
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