Commit Graph

463 Commits

Author SHA1 Message Date
httprunner
b5a25378da refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
httprunner
389e448515 refactor: load csv file with csv.DictReader 2018-03-22 21:28:46 +08:00
httprunner
5d5d752e7b print skip file path 2018-03-22 18:19:00 +08:00
httprunner
ba69f322a9 Prettify JSON testset format 2018-03-22 16:25:49 +08:00
httprunner
eeba433bed Validate JSON testset format 2018-03-22 15:49:03 +08:00
httprunner
a5d3483788 release 1.2.3 2018-03-22 11:55:31 +08:00
httprunner
b241dd09ba fix #120: UnicodeEncodeError occured when response text contains Chinese in Python 2 2018-03-21 22:34:49 +08:00
httprunner
de253cc772 add setup_hook_prepare_kwargs as default setup hook 2018-03-21 20:12:58 +08:00
httprunner
1ca78b7f53 print warning message when no testcase found 2018-03-21 14:21:50 +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
179301d084 make wrappers for get_bind_item 2018-03-13 22:25:38 +08:00
httprunner
f899a35218 relocate kwargs preparation 2018-03-13 21:05:27 +08:00
httprunner
8ed100dfbb update Pipfile.lock 2018-03-12 19:40:49 +08:00
httprunner
5e60d5b372 update version 2018-03-12 15:58:25 +08:00
httprunner
75a9020e90 bugfix 2018-03-09 15:49:37 +08:00
httprunner
75becb2381 check parameters format. 2018-03-08 23:22:09 +08:00
httprunner
6ca5e63377 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
httprunner
96fc410234 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
httprunner
b191197a43 fix setup 2018-03-06 14:44:36 +08:00
httprunner
0b18db61e1 add setup.py upload support 2018-03-05 12:24:33 +08:00
httprunner
0a71dd8ed3 #106: add callable to check if it is function 2018-03-01 00:13:25 +08:00
httprunner
074cc76cad #106: support builtin functions 2018-02-28 23:56:10 +08:00
httprunner
24c5826cce add Pipfile.lock 2018-02-28 18:15:58 +08:00
httprunner
74bb9b0d81 replace requirements-dev.txt with Pipfile 2018-02-28 15:33:34 +08:00
httprunner
846ddc413b add HttpRunner version to report template 2018-02-27 23:23:28 +08:00
httprunner
6c0b782ea0 upgrade to 0.9.7: support .env file 2018-02-27 16:36:05 +08:00
httprunner
e2bca60c20 update docstring for HttpRunner class 2018-02-27 13:48:42 +08:00
httprunner
02587003f7 refactor HttpRunner interface 2018-02-27 13:43:35 +08:00
httprunner
73935b83d0 add runtime env to report 2018-02-27 10:47:34 +08:00
httprunner
091d676522 fix #104: popup ids are the same in default template 2018-02-26 23:16:36 +08:00
httprunner
8dd5f5f493 bugfix: instal with dependencies 2018-02-26 22:38:17 +08:00
httprunner
0948dcb0fc relocate locust template file 2018-02-26 13:50:10 +08:00
httprunner
4301a6ea46 bugfix: make json serializable before rendering 2018-02-26 13:44:53 +08:00
httprunner
4372e8ad02 remove unused import 2018-02-26 13:33:32 +08:00
httprunner
c6c361c237 relocate expressions 2018-02-26 13:32:37 +08:00
httprunner
85fa296436 update html report default template 2018-02-26 12:42:21 +08:00
httprunner
b160c1af34 bugfix: handle when testcase failed 2018-02-26 11:19:58 +08:00
httprunner
02bc5d5f0f html report: show response time for each test 2018-02-26 00:34:55 +08:00
httprunner
ea4a2c6d3f extract meta data of request and bind it to testcase 2018-02-26 00:19:02 +08:00
httprunner
7d81db9c88 rename function name: _run_test => run_test 2018-02-25 23:32:36 +08:00
httprunner
fdfad281d6 bugfix open and write file: make compatible with Python 2.7 2018-02-25 23:15:32 +08:00
httprunner
589d13b725 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
httprunner
5b03ab334a refactor class name: ApiTestCase => TestCase, ApiTestSuite => TestSuite 2018-02-24 17:59:42 +08:00
httprunner
ee2d15f42e add HttpRunner class as interface 2018-02-24 17:45:45 +08:00
httprunner
b1e3c17512 put request info to the next line 2018-02-24 15:45:28 +08:00
httprunner
4c9fb6f75b 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
httprunner
f01bc59d2a lower all keys in request headers 2018-02-24 15:28:27 +08:00
httprunner
273a01ae23 print error info when missing debugging type 2018-02-24 13:47:22 +08:00
httprunner
0080f8821d 0.9.3b 2018-02-23 23:04:44 +08:00
httprunner
c66f6ede02 add requirements-dev.txt for debugging 2018-02-23 20:26:44 +08:00