debugtalk
|
9ef84a38e8
|
remove builtin setup hook: prepare post data
|
2018-12-17 20:55:19 +08:00 |
|
debugtalk
|
d53133cfea
|
update unittest
|
2018-12-17 20:38:55 +08:00 |
|
debugtalk
|
a1d55ed162
|
update parameterize feature:
def get_user_agent():
return ["iOS/10.1", "iOS/10.2"]
def get_account_in_tuple():
return [("user1", "111111"), ("user2", "222222")]
|
2018-12-17 20:19:01 +08:00 |
|
debugtalk
|
411981dcd0
|
fix unittest for Python 2.7/3.4/3.5
|
2018-12-16 00:48:59 +08:00 |
|
debugtalk
|
dcd50579a1
|
add unittest for running single api
|
2018-12-16 00:38:02 +08:00 |
|
debugtalk
|
3249394732
|
add new feature: parameters
|
2018-12-14 23:29:17 +08:00 |
|
debugtalk
|
5a90c437af
|
remove unused code
|
2018-12-13 16:58:04 +08:00 |
|
debugtalk
|
acfca8c07f
|
refactor testcase layer mechanism:
1, autotest testsuite layer
2, performance test
|
2018-12-10 16:10:06 +08:00 |
|
debugtalk
|
0eacd5f7de
|
save api in individual file: each file is corresponding to one api definition
|
2018-12-04 22:38:41 +08:00 |
|
debugtalk
|
0cfb92aa4a
|
change httprunner api HttpRunner location to avoid monkey patch
|
2018-12-04 20:47:53 +08:00 |
|
debugtalk
|
4e2fd846fb
|
fix typo error
|
2018-12-04 12:07:02 +08:00 |
|
debugtalk
|
757fc975f1
|
bugfix: POST content-type is application/x-www-form-urlencoded
|
2018-11-30 22:46:09 +08:00 |
|
debugtalk
|
5d6509d38f
|
fix base_url: teststep have base_url but is empty
|
2018-11-29 19:31:11 +08:00 |
|
debugtalk
|
7b2c5114c2
|
fix base_url with api referrence
|
2018-11-29 15:15:45 +08:00 |
|
debugtalk
|
8021fb0760
|
make extract in testcase template compatible with mapping style:
new mapping style:
extract: {
a: content.a,
b: text.b
}
Also, the former list style is still valid:
extract: [
{a: content.a},
{b: text.b}
]
|
2018-11-29 14:43:12 +08:00 |
|
debugtalk
|
56b0a7819d
|
fix base_url with variables
|
2018-11-29 11:54:33 +08:00 |
|
debugtalk
|
8667c2db4b
|
try to fix unittest failure in Python 2.7
|
2018-11-28 22:24:39 +08:00 |
|
debugtalk
|
0d17e16875
|
fix 68d2fb324c3841832267fcd7464c549748cf71c3: make variables independent on order
|
2018-11-28 13:18:27 +08:00 |
|
debugtalk
|
2ec2d3c2d8
|
make variables in testcase template compatible with mapping style:
new mapping style:
"variables": {
"a": 1,
"b": 2
}
Also, the former list style is still valid:
"variables": [
{"a": 1},
{"b": 2}
]
|
2018-11-28 12:14:06 +08:00 |
|
debugtalk
|
fd69d1faf0
|
bugfix: parse test variables with config variables
|
2018-11-27 23:59:33 +08:00 |
|
debugtalk
|
6e122ec8ac
|
fix html report for HttpRunner 2.0
|
2018-11-27 17:58:06 +08:00 |
|
debugtalk
|
3183064885
|
adjust arguments for html report
|
2018-11-25 23:12:36 +08:00 |
|
debugtalk
|
3ea4789c7b
|
fix commit f1be0972dae59389c21b0371580c3101f67bc808
|
2018-11-24 00:49:13 +08:00 |
|
debugtalk
|
4fbaa71e7e
|
implement hook assignment: save returned value from hook function to teststep scope variable
|
2018-11-24 00:23:57 +08:00 |
|
debugtalk
|
18875bc5f1
|
rename teststeps to tests
|
2018-11-23 17:56:53 +08:00 |
|
debugtalk
|
8f4500566d
|
update locusts with HttpRunner 2.0
|
2018-11-23 17:14:43 +08:00 |
|
debugtalk
|
b810ad7e91
|
fix environment variable invoke:
environment variable maybe loaded in debugtalk.py
thus .env file should be loaded before loading debugtalk.py
|
2018-11-22 20:43:27 +08:00 |
|
debugtalk
|
4099ade49d
|
HttpRunner 2.0 is comming!
1, new design for testcase format;
2, refactor testcase layer mechanism.
|
2018-11-22 19:25:00 +08:00 |
|
debugtalk
|
82b527d8b2
|
add unittest: variables in testcase teststep should override api's
|
2018-11-16 14:50:14 +08:00 |
|
debugtalk
|
05eb07935a
|
add args and kwargs validation for ENV() and P()
|
2018-11-16 12:45:06 +08:00 |
|
debugtalk
|
e8d7f8e7c5
|
.env variables should be referenced with builtin ENV/environ function
|
2018-11-16 12:29:02 +08:00 |
|
debugtalk
|
5013861f74
|
refactor testcase config data structure
|
2018-11-15 21:49:05 +08:00 |
|
debugtalk
|
a67216cbdd
|
update parse_parameters
|
2018-11-15 21:09:22 +08:00 |
|
debugtalk
|
822df7005a
|
remove obsolete key words: variable_binds, extractors, extract_binds, validators
|
2018-11-15 20:35:44 +08:00 |
|
debugtalk
|
bb3dcb2756
|
refactor is_function
|
2018-11-15 20:05:57 +08:00 |
|
debugtalk
|
a116c651f9
|
remove unused utils functions
|
2018-11-15 19:58:26 +08:00 |
|
debugtalk
|
0e54c4aec9
|
relocate functions related to .env
|
2018-11-15 19:37:50 +08:00 |
|
debugtalk
|
58fa2a4bf4
|
relocate functions related to debugtalk.py
|
2018-11-15 17:12:31 +08:00 |
|
debugtalk
|
626612061e
|
remove debugtalk.py variables mechanism
|
2018-11-15 14:48:44 +08:00 |
|
debugtalk
|
badb473520
|
set_os_environ before parsing testcase, unset_os_environ after parsing testcase
|
2018-11-14 22:11:14 +08:00 |
|
debugtalk
|
1578b78f54
|
ensure variables are in mapping format.
|
2018-11-14 16:15:04 +08:00 |
|
debugtalk
|
a9a82e52f3
|
fix variables priority: passed in > .env > debugtalk.py > parameters > config variables
|
2018-11-14 15:41:41 +08:00 |
|
debugtalk
|
547e22a6a5
|
fix merge & override api variables/validate/extract/hooks/etc
|
2018-11-06 23:44:46 +08:00 |
|
debugtalk
|
2d5ff04b46
|
locusts support weight feature
|
2018-10-29 22:16:41 +08:00 |
|
debugtalk
|
aed7013b1d
|
split _load_teststeps from _load_testcase
|
2018-10-29 15:00:04 +08:00 |
|
debugtalk
|
597d405378
|
refactor _load_test_file
|
2018-10-29 13:01:30 +08:00 |
|
debugtalk
|
8930cf7d44
|
fix unittest for Python2.7
https://travis-ci.org/HttpRunner/HttpRunner/jobs/447602404
|
2018-10-29 11:11:19 +08:00 |
|
debugtalk
|
9c884c18bc
|
fix #418: deepcopy testcase when testcase contains BufferReader
|
2018-10-27 18:37:58 +08:00 |
|
debugtalk
|
968fdc3b01
|
rename testset => testcase
|
2018-10-03 00:02:38 +08:00 |
|
debugtalk
|
a0db780977
|
make HttpRunner().run as main interface for running testcases
|
2018-10-02 00:50:39 +08:00 |
|