Commit Graph

1708 Commits

Author SHA1 Message Date
debugtalk
03c1836075 style: add typing 2020-06-03 16:50:53 +08:00
debugtalk
526b1fcbc9 change: refactor Request interface 2020-06-03 16:50:53 +08:00
debugtalk
e7aca43470 feat: describe testcase in chain-call style 2020-06-03 16:50:53 +08:00
debugtalk
edf17c5508 docs: update changelog 2020-06-03 16:50:53 +08:00
debugtalk
56aa8f251f fix: requests.cookies.CookieConflictError, multiple cookies with name 2020-06-03 16:50:53 +08:00
debugtalk
f87aaf5662 fix: referenced testcase should not be run duplicately 2020-06-03 16:50:53 +08:00
debugtalk
47cc964ecf fix: convert jmespath.search result to int/float 2020-06-03 16:50:53 +08:00
debugtalk
e22d828dca docs: update sponsor info 2020-06-03 16:50:53 +08:00
debugtalk
f92fca70f2 fix: missing exit code from pytest 2020-06-03 16:47:26 +08:00
debugtalk
365996f59b fix compatibility: step_datas=>records 2020-06-03 16:46:02 +08:00
debugtalk
e3a7884317 Merge pull request #910 from httprunner/v3
## 3.0.6 (2020-05-29)

**Added**

- feat: make referenced testcase as pytest class

**Fixed**

- fix: ensure converted python file in utf-8 encoding
- fix: duplicate running referenced testcase
- fix: ensure compatibility issues between testcase format v2 and v3
- fix: ensure compatibility with deprecated cli args in v2, include --failfast/--report-file/--save-tests
- fix: UnicodeDecodeError when request body in protobuf

**Changed**

- change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies
- change: move all unittests to tests folder
- change: save testcase log in PWD/logs/ directory
2020-05-29 20:58:15 +08:00
debugtalk
b2de9219da docs: update changelog 2020-05-29 20:52:08 +08:00
debugtalk
f6d4d4a311 fix: missing validate_script 2020-05-29 19:08:20 +08:00
debugtalk
446860503f fix: missing setup_hooks and teardown hooks 2020-05-29 19:03:29 +08:00
debugtalk
d5352ef022 test: update httpbin tests 2020-05-29 18:44:57 +08:00
debugtalk
633f5b26fb change: save testcase log in PWD/logs/ dir 2020-05-29 18:20:35 +08:00
debugtalk
ea458a4dc0 fix: compatibility with --save-tests 2020-05-29 17:58:56 +08:00
debugtalk
1134bb523b fix: compatibility when request body is None 2020-05-29 11:34:17 +08:00
debugtalk
45a5f1c37c change: convert lst.0.name to lst[0].name 2020-05-29 11:16:43 +08:00
debugtalk
0b8d2b1471 fix: compatibility with jmespath, headers."Content-Type" 2020-05-29 11:04:15 +08:00
debugtalk
e62cc57839 change: relocate scaffold 2020-05-28 20:23:04 +08:00
debugtalk
7107c536dc change: relocate make 2020-05-28 20:20:13 +08:00
debugtalk
2a14e1b8db fix: check upload depencencies ready 2020-05-28 19:15:11 +08:00
debugtalk
8f237fd909 fix: allure ModuleNotFoundError 2020-05-28 18:58:49 +08:00
debugtalk
398522bd2c change: move all unittests to tests folder 2020-05-28 18:46:31 +08:00
debugtalk
ed3c937be6 change: make allure-pytest, requests-toolbelt, filetype as optional dependencies 2020-05-28 18:21:33 +08:00
debugtalk
9e0bd12b6c fix: ensure compatibility with deprecated cli args in v2 2020-05-28 18:10:50 +08:00
debugtalk
3e8b906a4c fix: UnicodeDecodeError when request body in protobuf 2020-05-28 14:14:45 +08:00
debugtalk
83286007ab feat: sort request and teststep by custom order 2020-05-28 13:00:54 +08:00
debugtalk
803881f5b9 test: add unittest for ensure_testcase_v3 2020-05-28 11:30:46 +08:00
debugtalk
06b219fd06 fix: compatibility with v2, body.lst.0.name 2020-05-27 22:01:20 +08:00
debugtalk
cad3812384 fix: compatibility with v2, headers.Content-Type 2020-05-27 21:29:37 +08:00
debugtalk
1de4585dd5 fix: keep testcase key order 2020-05-27 21:11:30 +08:00
debugtalk
8b3c4442ae fix: ensure pytest files are in python module, generate __init__.py on demand 2020-05-27 21:03:58 +08:00
debugtalk
66703eb888 fix: ensure file name not startswith digit 2020-05-27 20:42:56 +08:00
debugtalk
5cfa80991a fix: validate field with variable or function 2020-05-27 19:53:29 +08:00
debugtalk
3032974b73 fix: ensure compatibility issues between testcase format v2 and v3 2020-05-27 18:52:45 +08:00
debugtalk
051c1f26b7 change: generated pytest notice 2020-05-27 16:55:57 +08:00
debugtalk
add70330d2 fix: duplicate running referenced testcase 2020-05-27 11:21:01 +08:00
debugtalk
e278d67886 docs: add testcase fixture example to update teststep headers 2020-05-27 10:57:53 +08:00
debugtalk
2d76db0568 docs: add changelog 2020-05-26 21:31:59 +08:00
debugtalk
446c5c7558 docs: add installation 2020-05-26 21:16:55 +08:00
debugtalk
756c136b0f docs: remove v2 docs 2020-05-26 16:29:27 +08:00
debugtalk
d878690125 fix: insert cwd path before import referenced testcase class 2020-05-26 13:15:20 +08:00
debugtalk
e0f0ea23d3 fix: make referenced testcase as pytest class 2020-05-25 23:06:00 +08:00
debugtalk
7fd243a7e8 change: adjust code 2020-05-25 20:11:52 +08:00
debugtalk
1e6db89b3e feat: cache converted pytest files, avoid duplicate making 2020-05-25 18:23:54 +08:00
debugtalk
c02ab453dc feat: make referenced testcase as pytest class 2020-05-25 17:53:22 +08:00
debugtalk
0fecee38e4 change: load_project_meta only once by default 2020-05-25 17:05:39 +08:00
debugtalk
1bc52ae968 refactor: rename HttpRunner run to run_testcase 2020-05-24 16:03:48 +08:00