Commit Graph

73 Commits

Author SHA1 Message Date
debugtalk
30461e8037 tests: update tests 2020-06-08 16:56:55 +08:00
debugtalk
204b013b71 test: add unittest form testcase with abnormal path 2020-06-07 12:44:02 +08:00
debugtalk
94757c7bdd change: remove unittests with flask mock server 2020-05-15 23:15:03 +08:00
debugtalk
bf2ec77765 fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk
7ba22b1389 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00
debugtalk
e87367e059 feat: 'export' is used to replace 'output' in testcase config 2019-06-26 22:33:52 +08:00
debugtalk
c6f41b84e6 fix unittest 2019-04-04 15:36:58 +08:00
debugtalk
d7b76b2fcc feat: implement lazy parser 2019-04-04 01:21:08 +08:00
debugtalk
f7cfca738b remove unused code 2019-03-18 16:11:07 +08:00
hluguoj
8d511ceb16 bugfix random function in config variables run many times 2019-02-27 21:21:11 +08:00
debugtalk
d0308bbf51 change test filename 2019-02-24 18:12:55 +08:00
debugtalk
56ca99a6e8 remove unused unittest 2019-02-24 18:07:11 +08:00
debugtalk
7d422be10e remove unused files 2018-12-27 17:04:38 +08:00
debugtalk
2640720332 fix unittest c4805ccb98e909b9586eea3e30c15b40fb0bbf8a 2018-12-17 23:08:35 +08:00
debugtalk
baa27f37e7 remove unused files 2018-12-17 21:45:33 +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
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