Commit Graph

57 Commits

Author SHA1 Message Date
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
8f4500566d update locusts with HttpRunner 2.0 2018-11-23 17:14:43 +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
e8d7f8e7c5 .env variables should be referenced with builtin ENV/environ function 2018-11-16 12:29:02 +08:00
debugtalk
626612061e remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
debugtalk
2d5ff04b46 locusts support weight feature 2018-10-29 22:16:41 +08:00
debugtalk
968fdc3b01 rename testset => testcase 2018-10-03 00:02:38 +08:00
debugtalk
9993bb7b81 fix #392: multiple '=' in .env file 2018-09-17 15:16:35 +08:00
debugtalk
ec2058f2e2 fix #366: teststep name 2018-08-31 15:48:46 +08:00
debugtalk
777c144813 add --dot-env-path back 2018-08-28 14:39:18 +08:00
debugtalk
0648ee9bf6 remove --dot-env-path argument 2018-08-23 11:52:39 +08:00
debugtalk
b3eede8762 fix #309 #312 2018-08-22 23:24:19 +08:00
debugtalk
6f3dbacf67 refactor: pipeline 2018-08-21 17:39:12 +08:00
debugtalk
64656c1ab4 update test data filename 2018-07-26 15:27:39 +08:00
debugtalk
9f7cde2707 deprecate function_binds 2018-07-26 15:23:03 +08:00
debugtalk
54e151e468 deprecate requires 2018-07-26 15:17:50 +08:00
debugtalk
a8d8b26914 deprecate import_module_items 2018-07-26 15:08:04 +08:00
debugtalk
a414fe56d5 call load_dot_env_file when initializing HttpRunner 2018-05-09 17:21:08 +08:00
debugtalk
29ac00fabf move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
debugtalk
bfb9b1e3e1 merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
debugtalk
2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
debugtalk
261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +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
f1cac82a15 #106: support builtin functions 2018-02-28 23:56:10 +08:00
debugtalk
56cf359810 new feature: support parameters and data driven 2018-02-15 22:53:56 +08:00
debugtalk
3936b82a52 #96: skip unless condition 2018-02-08 22:36:30 +08:00
debugtalk
c504f305f1 #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
debugtalk
177856c37c bugfix #96 skip feature: display skip testcases number corretly 2018-02-08 12:55:23 +08:00
debugtalk
4fbc414e87 refactor run times: display test statistics correctly with run times setting 2018-02-08 12:24:53 +08:00
debugtalk
c40a208024 fix #84: type_match invalid 2018-01-17 12:49:02 +08:00
debugtalk
124cbe8102 #78: merge validators in test with api validators 2018-01-16 19:28:07 +08:00
debugtalk
921edae7d3 fix #64: when headers in test is None, it should inherit from config 2017-12-23 12:41:00 +08:00
debugtalk
f522fd11aa update tests for custom validator 2017-12-13 16:29:42 +08:00
debugtalk
3f3b0f1ea7 #52: validator expect field support reference variable 2017-12-13 01:22:43 +08:00
debugtalk
cd89157fa6 validator: check item support reference variable 2017-12-13 01:12:57 +08:00
debugtalk
d079f014d9 #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
debugtalk
be6502cd63 support new validator format, e.g. {'eq': ['status_code', 200]} 2017-12-12 12:08:55 +08:00
debugtalk
3af67a31cc validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
debugtalk
0158e98c8b rename validators to validate 2017-11-01 14:43:28 +08:00
debugtalk
9bd28653f6 rename extractor/extractors to extract 2017-11-01 14:30:36 +08:00
debugtalk
388a6da23a rename keyword: variable_binds => variables 2017-10-24 15:59:09 +08:00
debugtalk
7b64b8233b rename keyword: extract_binds => extractors 2017-10-24 15:40:59 +08:00
debugtalk
e592b98dd9 update tests 2017-09-28 22:57:25 +08:00
debugtalk
7aefc7a13b refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
debugtalk
3792da8105 add output:
1, change return value of running testset;
2, print extracted variables at the end of testset.
2017-09-19 15:24:11 +08:00
debugtalk
4126b99862 subsititue api call args 2017-09-18 21:53:22 +08:00
debugtalk
cd20b0a8dc new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
debugtalk
0e601c1865 request in config should also be parsed 2017-09-12 22:32:52 +08:00
debugtalk
082a2711e9 hot plugin support: search variables recursive upward from testset file 2017-09-04 11:22:43 +08:00