Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk d8c1a66971 bugfix: modify request with setup_hooks 2018-05-14 14:29:26 +08:00
debugtalk d96ae6fec7 update README 2018-05-13 14:39:41 +08:00
debugtalk 0e083e6c74 add wechat QR code 2018-05-12 23:35:12 +08:00
debugtalk b629c05a13 remove examples 2018-05-12 21:12:25 +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 ce995a798f remove tests/httpbin/debugtalk.py 2018-05-10 12:39:37 +08:00
debugtalk a414fe56d5 call load_dot_env_file when initializing HttpRunner 2018-05-09 17:21:08 +08:00
debugtalk 9c26dba415 remove flask dev 2018-05-07 15:21:49 +08:00
debugtalk 29ac00fabf move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
debugtalk cb57e4bec2 bugfix #210: SuiteNotFound 2018-05-07 12:10:20 +08:00
debugtalk 1164fab267 release 1.4.0 2018-05-03 16:12:18 +08:00
debugtalk 37a6615791 fix Python version compability 2018-05-03 16:04:58 +08:00
debugtalk d08acfd4bf fix compability: flask < 1.0.0 2018-05-03 12:46:50 +08:00
debugtalk 438e3c1243 update Pipfile 2018-05-03 11:47:31 +08:00
debugtalk e1d49010c0 replace online httpbin service with httpbin lib 2018-05-02 17:43:07 +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 9f26c42ebf add requests_toolbelt dependency 2018-04-25 22:27:47 +08:00
debugtalk 84e45dcc47 fix unittest 2018-04-24 20:54:59 +08:00
debugtalk 2fe91080b1 fix #196: join base url and path 2018-04-24 20:48:38 +08:00
debugtalk c0e5678778 fix #139: hooks execution order 2018-04-24 17:00:58 +08:00
debugtalk bfb9b1e3e1 merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
debugtalk 84f5000d7a fix #188: display response image in html report 2018-04-22 13:29:41 +08:00
debugtalk 36ce0b6dee only show request body row if request method is POST or PUT 2018-04-22 13:03:32 +08:00
debugtalk cca68381e8 join base_url and path nicely 2018-04-22 12:53:56 +08:00
debugtalk 4a414e3604 refactor report template: display request and response data in popup table 2018-04-22 12:12:04 +08:00
debugtalk 8209fdc207 bugfix: testset file path 2018-04-20 22:05:50 +08:00
debugtalk 0a3f5cc146 fix #191: request data dumps 2018-04-20 22:00:56 +08:00
debugtalk e5191fd740 fix #185: log hrun logs to specified file 2018-04-20 15:25:24 +08:00
debugtalk 061f55cb1e fix #183: type error 2018-04-20 11:19:35 +08:00
debugtalk ad81114c15 #135: extract cookie from response 2018-04-19 23:40:42 +08:00
debugtalk 0135f4de42 fix #122: jump to the corresponding record when closed window 2018-04-19 22:26:55 +08:00
debugtalk 408e73b816 fix #161: print warning when api definition duplicated occured 2018-04-19 22:16:19 +08:00
debugtalk ffff6fef52 #169: add builtin support for uploading files 2018-04-17 23:20:39 +08:00
debugtalk 89f97d8b0a update help description 2018-04-17 22:20:09 +08:00
debugtalk de14f2877b refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
debugtalk 37d9ea211f call HttpRunner class with testsets data structure other than path 2018-04-17 21:41:02 +08:00
debugtalk b6450afd0b refactor lib function interface 2018-04-17 16:45:45 +08:00
debugtalk 9d3c5c5ef7 filter output if out is empty 2018-04-16 20:35:53 +08:00
debugtalk f4f13f682d print response text if failed to extract check item from response 2018-04-16 00:55:05 +08:00
debugtalk ddfec58cc3 rename arg name: --cpu-cores => --processes 2018-04-11 22:53:46 +08:00
debugtalk 3882f41614 fix #155: XSS in Jinja2 rendering 2018-04-10 10:55:50 +08:00
debugtalk 787bf01286 bugfix: when variable reference in testcase name is extracted from former testcase, exception will occur 2018-04-02 16:28:46 +08:00
debugtalk 251a0a84e7 log extract field 2018-03-30 18:47:07 +08:00
debugtalk 3eb3a0eb57 add test for type_match comparator #94 2018-03-27 22:56:58 +08:00
debugtalk 28a9b506dd fix #127: display full url in html report log 2018-03-27 22:50:09 +08:00
debugtalk 2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
debugtalk ede7d66eaa bugfix: uniform response time unit to miliseconds 2018-03-27 18:36:23 +08:00
debugtalk 45207bbf73 fix #123: display report detail data in order 2018-03-27 17:59:57 +08:00
debugtalk a1357834b4 bugfix: represent unicode literals in html report 2018-03-27 17:29:05 +08:00
debugtalk 7d15096974 print raw request info, before hook calls 2018-03-27 16:21:37 +08:00
debugtalk f5600aea03 bugfix #132: skip serialize class instance, e.g. MultipartEncoder 2018-03-27 15:56:08 +08:00
debugtalk 94db1acc80 define python source code encoding as utf-8 2018-03-27 12:07:46 +08:00
debugtalk da6c0cb848 encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00
debugtalk 01dda7b92d print python 2 retire message as warning 2018-03-25 23:07:07 +08:00
debugtalk 261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
debugtalk 1c44ae764b refactor: load csv file with csv.DictReader 2018-03-22 21:28:46 +08:00
debugtalk 0dff8587fa print skip file path 2018-03-22 18:19:00 +08:00
debugtalk 7ca84de35e Prettify JSON testset format 2018-03-22 16:25:49 +08:00
debugtalk 7f2d2b10ab Validate JSON testset format 2018-03-22 15:49:03 +08:00
debugtalk 2edb05cf68 release 1.2.3 2018-03-22 11:55:31 +08:00
debugtalk f177ffe680 fix #120: UnicodeEncodeError occured when response text contains Chinese in Python 2 2018-03-21 22:34:49 +08:00
debugtalk 6d05ac32dc add setup_hook_prepare_kwargs as default setup hook 2018-03-21 20:12:58 +08:00
debugtalk 8b7bbb4171 print warning message when no testcase found 2018-03-21 14:21:50 +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 c7a1a17b3c make wrappers for get_bind_item 2018-03-13 22:25:38 +08:00
debugtalk 9044bfb971 relocate kwargs preparation 2018-03-13 21:05:27 +08:00
debugtalk 554c741bcf update Pipfile.lock 2018-03-12 19:40:49 +08:00
debugtalk 9848256dc8 update version 2018-03-12 15:58:25 +08:00
debugtalk dccfe4aaf1 bugfix 2018-03-09 15:49:37 +08:00
debugtalk 06ccff9be1 check parameters format. 2018-03-08 23:22:09 +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 85c49e6924 fix setup 2018-03-06 14:44:36 +08:00
debugtalk 1de4d6c6cc add setup.py upload support 2018-03-05 12:24:33 +08:00
debugtalk f95351cc6e #106: add callable to check if it is function 2018-03-01 00:13:25 +08:00
debugtalk f1cac82a15 #106: support builtin functions 2018-02-28 23:56:10 +08:00
debugtalk e91fef2595 add Pipfile.lock 2018-02-28 18:15:58 +08:00
debugtalk 4f543caca1 replace requirements-dev.txt with Pipfile 2018-02-28 15:33:34 +08:00
debugtalk f0e2bc8e3f add HttpRunner version to report template 2018-02-27 23:23:28 +08:00
debugtalk 41c979e897 upgrade to 0.9.7: support .env file 2018-02-27 16:36:05 +08:00
debugtalk 98c72c7890 update docstring for HttpRunner class 2018-02-27 13:48:42 +08:00
debugtalk 06eb5f5f31 refactor HttpRunner interface 2018-02-27 13:43:35 +08:00
debugtalk 10efc8f772 add runtime env to report 2018-02-27 10:47:34 +08:00
debugtalk b3d4eecdfd fix #104: popup ids are the same in default template 2018-02-26 23:16:36 +08:00
debugtalk 68227f6c0e bugfix: instal with dependencies 2018-02-26 22:38:17 +08:00
debugtalk 7232840dc1 relocate locust template file 2018-02-26 13:50:10 +08:00
debugtalk a5032ebdc8 bugfix: make json serializable before rendering 2018-02-26 13:44:53 +08:00
debugtalk 1548a62c75 remove unused import 2018-02-26 13:33:32 +08:00
debugtalk 865ef8c9dd relocate expressions 2018-02-26 13:32:37 +08:00
debugtalk 0ba83bd0fe update html report default template 2018-02-26 12:42:21 +08:00
debugtalk a75f73c60f bugfix: handle when testcase failed 2018-02-26 11:19:58 +08:00
debugtalk 89a1a35629 html report: show response time for each test 2018-02-26 00:34:55 +08:00
debugtalk 02d41c4e51 extract meta data of request and bind it to testcase 2018-02-26 00:19:02 +08:00
debugtalk e8ce54864b rename function name: _run_test => run_test 2018-02-25 23:32:36 +08:00
debugtalk 81457dea93 bugfix open and write file: make compatible with Python 2.7 2018-02-25 23:15:32 +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 6557cb3420 refactor class name: ApiTestCase => TestCase, ApiTestSuite => TestSuite 2018-02-24 17:59:42 +08:00
debugtalk 8b0b7e7efd add HttpRunner class as interface 2018-02-24 17:45:45 +08:00