Commit Graph

46 Commits

Author SHA1 Message Date
httprunner
64a960d490 remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
httprunner
9b6cc7ca29 refactor pipline 2018-10-01 17:27:51 +08:00
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
53742e1c4c refactor parse_data 2018-08-13 00:29:49 +08:00
httprunner
b92c234951 remove functions from utils 2018-08-11 17:29:48 +08:00
httprunner
9fe5d2e264 relocate TestcaseParser 2018-08-09 10:36:39 +08:00
httprunner
72d0fe21e2 update: get function or variable item 2018-08-09 01:10:03 +08:00
httprunner
c14964042a relocate testcase parser 2018-08-05 11:46:27 +08:00
httprunner
7450c76a19 relocate file loader 2018-07-29 22:40:00 +08:00
httprunner
46fe256418 refactor: import built_in module 2018-07-29 10:25:23 +08:00
httprunner
29073d7111 deprecate function_binds 2018-07-26 15:23:03 +08:00
httprunner
adb72e7d75 deprecate requires 2018-07-26 15:17:50 +08:00
httprunner
7ed962e803 deprecate import_module_items 2018-07-26 15:08:04 +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
b6e306fd38 validate all validators even if failed 2018-07-24 18:04:10 +08:00
httprunner
d198174ec0 display validators in report log 2018-07-19 23:56:24 +08:00
httprunner
28ae4d0c97 fix #255: validate with custom functions 2018-06-11 21:52:21 +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
901eaab220 move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
httprunner
d8ae4c0660 group file functions to utils.FileUtils 2018-04-29 13:30:25 +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
074cc76cad #106: support builtin functions 2018-02-28 23:56:10 +08:00
httprunner
f01bc59d2a lower all keys in request headers 2018-02-24 15:28:27 +08:00
httprunner
151acd19be refactor names: simplify functions 2018-02-16 01:41:16 +08:00
httprunner
1db17cbd47 rename function 2018-02-14 22:05:11 +08:00
httprunner
488585fdc5 #78: merge validators in test with api validators 2018-01-16 19:28:07 +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
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
fa82c26e9f rename keyword: variable_binds => variables 2017-10-24 15:59:09 +08:00
httprunner
103dc8d724 rename functions 2017-09-22 14:31:23 +08:00
httprunner
93d4a78210 lower testcase key 2017-09-13 16:17:21 +08:00
httprunner
8d568d9e0d request in config should also be parsed 2017-09-12 22:32:52 +08:00
httprunner
eb4dcb64a3 add setup and teardown block, in these blocks, we can exec functions such as sleep 2017-09-05 10:25:22 +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
c606bf373b convert keys in request headers to lowercase 2017-08-28 18:52:55 +08:00
httprunner
533ff9198a bugfix #9: handle string content with multiple identical variables. 2017-07-31 22:26:09 +08:00
httprunner
68a00bcc0d change context variable name 2017-07-21 09:26:33 +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