Commit Graph

79 Commits

Author SHA1 Message Date
debugtalk
c6f41b84e6 fix unittest 2019-04-04 15:36:58 +08:00
debugtalk
d7b76b2fcc feat: implement lazy parser 2019-04-04 01:21:08 +08:00
debugtalk
d0308bbf51 change test filename 2019-02-24 18:12:55 +08:00
debugtalk
56ca99a6e8 remove unused unittest 2019-02-24 18:07:11 +08:00
debugtalk
708d26ee83 update modify_request_json 2019-02-20 11:51:30 +08:00
debugtalk
acfca8c07f refactor testcase layer mechanism:
1, autotest testsuite layer
2, performance test
2018-12-10 16:10:06 +08:00
debugtalk
4fbaa71e7e implement hook assignment: save returned value from hook function to teststep scope variable 2018-11-24 00:23:57 +08:00
debugtalk
18875bc5f1 rename teststeps to tests 2018-11-23 17:56:53 +08:00
debugtalk
4099ade49d HttpRunner 2.0 is comming!
1, new design for testcase format;
2, refactor testcase layer mechanism.
2018-11-22 19:25:00 +08:00
debugtalk
626612061e remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
debugtalk
968fdc3b01 rename testset => testcase 2018-10-03 00:02:38 +08:00
debugtalk
d0128bf182 refactor pipline 2018-10-01 17:27:51 +08:00
debugtalk
903005bc84 refactor function and variable name 2018-09-04 17:14:54 +08:00
debugtalk
cb44fafebf fix #189: remove file path dependency 2018-08-23 16:11:26 +08:00
debugtalk
e2ba773e78 fix #343: locate debugtalk.py and use as project working directory 2018-08-23 13:03:42 +08:00
debugtalk
c8bb8b6fb3 refactor context 2018-08-22 16:45:47 +08:00
debugtalk
6f3dbacf67 refactor: pipeline 2018-08-21 17:39:12 +08:00
debugtalk
9b0d708367 refactor loader: load testcases 2018-08-12 01:25:28 +08:00
debugtalk
c94e34e7f5 remove functions from utils 2018-08-11 17:29:48 +08:00
debugtalk
5be33f2152 increase response time to ensure unittest passed 2018-08-09 10:42:39 +08:00
debugtalk
305f84f3f7 refactor load_testcases function name 2018-08-04 23:58:07 +08:00
debugtalk
fd8c1682e4 merge with master 2018-08-02 14:09:15 +08:00
debugtalk
ee610a26a5 fix #279 #288: do not install httpbin as default, make compatible with Windows 2018-08-02 11:44:49 +08:00
debugtalk
f071c02513 define httpbin host and port in one place 2018-08-02 11:29:01 +08:00
debugtalk
fd0d37c3c9 add unit test: set response attribute to json data 2018-07-30 15:47:43 +08:00
debugtalk
e32e89c379 relocate test suite loader 2018-07-30 00:11:04 +08:00
debugtalk
5738c368c8 relocate file loader 2018-07-29 22:40:00 +08:00
debugtalk
52448357d0 refactor teardown_hooks set attribute: remove response attributes interlayer 2018-07-27 12:10:45 +08:00
debugtalk
4c53150ebb add TeardownHooksFailure exception 2018-07-27 11:41:59 +08:00
debugtalk
4771dd272e bugfix: set repsonse attribute 2018-07-26 22:33:35 +08:00
debugtalk
64656c1ab4 update test data filename 2018-07-26 15:27:39 +08:00
debugtalk
54e151e468 deprecate requires 2018-07-26 15:17:50 +08:00
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