Commit Graph

466 Commits

Author SHA1 Message Date
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 v1.3.0 2018-03-22 15:49:03 +08:00
debugtalk
2edb05cf68 release 1.2.3 v1.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
v1.0.0
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 v0.9.9 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
debugtalk
9ff88936e5 put request info to the next line 2018-02-24 15:45:28 +08:00
debugtalk
3e24926dd5 fix #99: if charset is specified in content-type, request data should be encoded with charset encoding 2018-02-24 15:33:18 +08:00
debugtalk
8312aa742a lower all keys in request headers 2018-02-24 15:28:27 +08:00