Commit Graph

45 Commits

Author SHA1 Message Date
debugtalk
d0128bf182 refactor pipline 2018-10-01 17:27:51 +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
a664684ba4 refactor parse_data 2018-08-13 00:29:49 +08:00
debugtalk
c94e34e7f5 remove functions from utils 2018-08-11 17:29:48 +08:00
debugtalk
22066da9f0 relocate TestcaseParser 2018-08-09 10:36:39 +08:00
debugtalk
3066284ae0 update: get function or variable item 2018-08-09 01:10:03 +08:00
debugtalk
243515a2ec relocate testcase parser 2018-08-05 11:46:27 +08:00
debugtalk
5738c368c8 relocate file loader 2018-07-29 22:40:00 +08:00
debugtalk
4dadef4ad9 refactor: import built_in module 2018-07-29 10:25:23 +08:00
debugtalk
9f7cde2707 deprecate function_binds 2018-07-26 15:23:03 +08:00
debugtalk
54e151e468 deprecate requires 2018-07-26 15:17:50 +08:00
debugtalk
a8d8b26914 deprecate import_module_items 2018-07-26 15:08:04 +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
6ae173d637 validate all validators even if failed 2018-07-24 18:04:10 +08:00
debugtalk
4ab3666b52 display validators in report log 2018-07-19 23:56:24 +08:00
debugtalk
696a393776 fix #255: validate with custom functions 2018-06-11 21:52:21 +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
29ac00fabf move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
debugtalk
915294ebd3 group file functions to utils.FileUtils 2018-04-29 13:30:25 +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
f1cac82a15 #106: support builtin functions 2018-02-28 23:56:10 +08:00
debugtalk
8312aa742a lower all keys in request headers 2018-02-24 15:28:27 +08:00
debugtalk
ec77183aa1 refactor names: simplify functions 2018-02-16 01:41:16 +08:00
debugtalk
2f83777d9a rename function 2018-02-14 22:05:11 +08:00
debugtalk
124cbe8102 #78: merge validators in test with api validators 2018-01-16 19:28:07 +08:00
debugtalk
cd89157fa6 validator: check item support reference variable 2017-12-13 01:12:57 +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
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
388a6da23a rename keyword: variable_binds => variables 2017-10-24 15:59:09 +08:00
debugtalk
8d2d52b192 rename functions 2017-09-22 14:31:23 +08:00
debugtalk
83bcc27133 lower testcase key 2017-09-13 16:17:21 +08:00
debugtalk
0e601c1865 request in config should also be parsed 2017-09-12 22:32:52 +08:00
debugtalk
cd6e742808 add setup and teardown block, in these blocks, we can exec functions such as sleep 2017-09-05 10:25:22 +08:00
debugtalk
082a2711e9 hot plugin support: search variables recursive upward from testset file 2017-09-04 11:22:43 +08:00
debugtalk
7f4c565fcb rename fixture module name 2017-08-29 22:12:08 +08:00
debugtalk
46dcd195d0 #36: add debugtalk.py local per-directory plugins 2017-08-29 21:33:02 +08:00
debugtalk
94a55827e7 convert keys in request headers to lowercase 2017-08-28 18:52:55 +08:00
debugtalk
94f3bfc00b bugfix #9: handle string content with multiple identical variables. 2017-07-31 22:26:09 +08:00
debugtalk
d90c6165f2 change context variable name 2017-07-21 09:26:33 +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