Commit Graph

81 Commits

Author SHA1 Message Date
debugtalk
b515d85829 fix #572: tests_def_mapping["testcases"] typo error 2019-07-15 00:18:46 +08:00
debugtalk
b6878bd9d9 fix: yaml FullLoader AttributeError when PyYAML version < 5.1 2019-06-30 20:53:42 +08:00
debugtalk
0174000484 fix: YAMLLoadWarning by specify yaml loader 2019-06-25 20:56:09 +08:00
debugtalk
7fc3280584 fix: extend with testcase reference in format version 2 2019-06-25 15:53:27 +08:00
debugtalk
0e0716a682 fix: handle test file format error 2019-06-24 17:01:54 +08:00
debugtalk
eb1729e88a feat: testsuite in format version 2 2019-06-24 16:45:49 +08:00
debugtalk
ec384dc9da feat: testcase in format version 2 2019-06-24 16:15:32 +08:00
debugtalk
e58e87befe refactor upload files with requests-toolbelt:
1, Simplify usage syntax;
2, support upload multiple fields.
2019-04-11 12:25:20 +08:00
debugtalk
a3e85f5213 fix: CSV relative path detection 2019-03-07 17:47:23 +08:00
debugtalk
c17875c82c fix duplicate API definition output 2019-01-25 12:18:07 +08:00
debugtalk
6a68207aa9 fix: run api folder, each api should be encapsulated as individual testcase 2018-12-24 12:24:30 +08:00
debugtalk
c734bcdfc6 fix os sep: make compatible with Windows/Linux 2018-12-20 23:03:41 +08:00
debugtalk
cac9c17184 fix NameError 2018-12-20 22:42:42 +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
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
3183064885 adjust arguments for html report 2018-11-25 23:12:36 +08:00
debugtalk
23cf17cb39 convert docstring to Google style 2018-11-23 22:52:23 +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
5013861f74 refactor testcase config data structure 2018-11-15 21:49:05 +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
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
a9a82e52f3 fix variables priority: passed in > .env > debugtalk.py > parameters > config variables 2018-11-14 15:41:41 +08:00
debugtalk
a3f28bae40 add tests layer temporally, remove later. 2018-11-07 22:27:35 +08:00
debugtalk
731dac884c load_locust_tests: parse config 2018-11-07 22:20:17 +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
883fc7bdbe pass in specified .env file path 2018-10-01 19:29:22 +08:00
debugtalk
afa36ad39b add PWD to sys.path 2018-10-01 17:48:07 +08:00
debugtalk
d0128bf182 refactor pipline 2018-10-01 17:27:51 +08:00
debugtalk
bbac876f7a Merge branch 'bugfix' of https://github.com/httprunner/HttpRunner into bugfix 2018-09-17 15:36:19 +08:00
debugtalk
9993bb7b81 fix #392: multiple '=' in .env file 2018-09-17 15:16:35 +08:00
debugtalk
d957e2564f fix #368: failed to load .env data in debugtalk.py 2018-08-31 16:29:13 +08:00
debugtalk
ec2058f2e2 fix #366: teststep name 2018-08-31 15:48:46 +08:00
debugtalk
c22651f43e fix #361: parameters data error 2018-08-30 21:18:11 +08:00
debugtalk
6ea86ae95d add --dot-env-path back 2018-08-28 14:35:26 +08:00
debugtalk
7f5b50328a fix #344: ModuleNotFoundError 2018-08-23 18:39:27 +08:00
debugtalk
cb44fafebf fix #189: remove file path dependency 2018-08-23 16:11:26 +08:00
debugtalk
e2ba773e78 fix #343: locate debugtalk.py and use as project working directory 2018-08-23 13:03:42 +08:00
debugtalk
0648ee9bf6 remove --dot-env-path argument 2018-08-23 11:52:39 +08:00