httprunner
b9a1c839bd
remove setup_hook_httpntlmauth from built-in hooks
2018-05-14 15:09:11 +08:00
httprunner
ae0e6e8049
bugfix: modify request with setup_hooks
2018-05-14 14:29:26 +08:00
httprunner
2900f5b955
fix #173 : testset hook in config block
2018-05-11 00:44:08 +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
9bd0041eea
remove tests/httpbin/debugtalk.py
2018-05-10 12:39:37 +08:00
httprunner
a223ca04d3
call load_dot_env_file when initializing HttpRunner
2018-05-09 17:21:08 +08:00
httprunner
901eaab220
move tests/data/debugtalk.py to tests/debugtalk.py
2018-05-07 15:19:14 +08:00
httprunner
1c7c65523e
bugfix #210 : SuiteNotFound
2018-05-07 12:10:20 +08:00
httprunner
017e6dc0ec
fix Python version compability
2018-05-03 16:04:58 +08:00
httprunner
aff902d43c
replace online httpbin service with httpbin lib
2018-05-02 17:43:07 +08:00
httprunner
7e263a0cbc
refactor testcase layer
2018-05-02 16:29:35 +08:00
httprunner
d8ae4c0660
group file functions to utils.FileUtils
2018-04-29 13:30:25 +08:00
httprunner
48d1790695
fix unittest
2018-04-24 20:54:59 +08:00
httprunner
99d66db9b2
fix #139 : hooks execution order
2018-04-24 17:00:58 +08:00
httprunner
e263021c3b
merge_validator: support checking unhashable values such as dict
2018-04-23 21:28:59 +08:00
httprunner
e1bcb74c5f
fix #188 : display response image in html report
2018-04-22 13:29:41 +08:00
httprunner
2a20afb58e
bugfix: testset file path
2018-04-20 22:05:50 +08:00
httprunner
43db00e4c1
fix #191 : request data dumps
2018-04-20 22:00:56 +08:00
httprunner
e80dc2b262
#169 : add builtin support for uploading files
2018-04-17 23:20:39 +08:00
httprunner
5dfdd6ad93
refactor function name: load_testcases_by_path => load_testsets_by_path
2018-04-17 21:42:48 +08:00
httprunner
a92f382571
call HttpRunner class with testsets data structure other than path
2018-04-17 21:41:02 +08:00
httprunner
efaf4365b2
refactor lib function interface
2018-04-17 16:45:45 +08:00
httprunner
549898a01d
add test for type_match comparator #94
2018-03-27 22:56:58 +08:00
httprunner
5219f7800f
fix #131 : parameter data driven with pair keys
2018-03-27 22:39:43 +08:00
httprunner
3ffcc8813e
encode request data if it is in unicode/str type
2018-03-26 00:10:41 +08:00
httprunner
b5a25378da
refactor compatibility, learned from requests
2018-03-25 21:19:23 +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
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
074cc76cad
#106 : support builtin functions
2018-02-28 23:56:10 +08:00
httprunner
7d81db9c88
rename function name: _run_test => run_test
2018-02-25 23:32:36 +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
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
842a3aeff5
remove return from _run_test
2018-02-19 23:41:37 +08:00
httprunner
151acd19be
refactor names: simplify functions
2018-02-16 01:41:16 +08:00
httprunner
f8569aad91
new feature: support parameters and data driven
2018-02-15 22:53:56 +08:00
httprunner
1db17cbd47
rename function
2018-02-14 22:05:11 +08:00
httprunner
8aa25023a3
add test result stat
2018-02-14 21:12:31 +08:00
httprunner
1eebfbabfc
refactor: make test runner unified
2018-02-14 20:28:28 +08:00
httprunner
b247cd49bc
#96 : skip unless condition
2018-02-08 22:36:30 +08:00
httprunner
9042e6e72f
#96 : refactor skip feature:
...
1, with skip keyword, skip current test unconditionally;
2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
2018-02-08 15:59:17 +08:00
httprunner
5bbbdc1997
bugfix #96 skip feature: display skip testcases number corretly
2018-02-08 12:55:23 +08:00
httprunner
1f81623a66
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
httprunner
d4048c066c
fix #84 : type_match invalid
2018-01-17 12:49:02 +08:00
httprunner
85a76a12d2
#78 : merge extractors in test with api extractors
2018-01-16 20:36:27 +08:00
httprunner
488585fdc5
#78 : merge validators in test with api validators
2018-01-16 19:28:07 +08:00
httprunner
18fbffed87
fix #64 : when headers in test is None, it should inherit from config
2017-12-23 12:41:00 +08:00