Commit Graph
1738 Commits
Author SHA1 Message Date
debugtalk e616a5775a change: capture exception with sentry 2020-06-04 12:11:27 +08:00
debugtalk 73bbf32512 change: replace logging with loguru 2020-06-04 11:24:47 +08:00
debugtalk 5b245fec0d feat: add sentry sdk 2020-06-04 11:14:04 +08:00
debugtalk 3b3b67e90d change: add httprunner version in generated pytest file 2020-06-04 10:39:02 +08:00
debugtalk 6bb9fc118d change: remove unused import 2020-06-04 10:19:32 +08:00
debugtalk cc90e25418 Merge pull request #918 from httprunner/v3
## 3.0.7 (2020-06-03)

**Added**

- feat: make pytest files in chain style
- feat: `hrun` supports run pytest files
- feat: get raw testcase model from pytest file

**Fixed**

- fix: convert jmespath.search result to int/float unintentionally
- fix: referenced testcase should not be run duplicately
- fix: requests.cookies.CookieConflictError, multiple cookies with name
- fix: missing exit code from pytest
- fix: skip invalid testcase/testsuite yaml/json file

**Changed**

- change: `har2case` generate pytest file by default
- docs: update sponsor info
2020-06-03 22:31:02 +08:00
debugtalk cdbbb9478e fix: github action 2020-06-03 22:24:09 +08:00
debugtalk 7e1e69fb1c fix: load_testcase 2020-06-03 22:07:29 +08:00
debugtalk 1f493a1ce4 fix #913: handle exception when request json is list type 2020-06-03 21:55:27 +08:00
debugtalk d1b7cdb14c fix #914: handle invalid test file 2020-06-03 21:52:11 +08:00
debugtalk 94fbab82ad fix: missing upload dependencies in tests 2020-06-03 21:41:24 +08:00
debugtalk 82b8975691 feat: get raw testcase model from pytest file 2020-06-03 21:36:32 +08:00
debugtalk e017b9b3fd feat: hrun supports run pytest files 2020-06-03 21:20:59 +08:00
debugtalk b47509cdaa change: har2case generate pytest file by default 2020-06-03 20:00:47 +08:00
debugtalk 7bb06aed72 change: make private functions public 2020-06-03 19:12:06 +08:00
debugtalk 8f78e41f07 docs: update changelog and example tests 2020-06-03 18:50:18 +08:00
debugtalk 1f75ad946d fix: skip invalid testcase/testsuite yaml/json file 2020-06-03 18:44:05 +08:00
debugtalk cb0984aadb refactor: builtin upload file method 2020-06-03 18:36:09 +08:00
debugtalk 7476dc1343 feat: add builtin comparators for StepValidation 2020-06-03 18:00:46 +08:00
debugtalk 59e99eeaa8 change: generate pytest in chain style by default 2020-06-03 17:11:08 +08:00
debugtalk 6b9bd46079 feat: make pytest files in chain style 2020-06-03 16:50:53 +08:00
debugtalk f2034426d5 change: builtin comparator equal 2020-06-03 16:50:53 +08:00
debugtalk 1b7f9b334b feat: describe testcase in chain-call style, run testcase 2020-06-03 16:50:53 +08:00
debugtalk 5b0bc40786 fix: compatibility 2020-06-03 16:50:53 +08:00
debugtalk ca28d1bdb3 refactor: StepValidation 2020-06-03 16:50:53 +08:00
debugtalk a465906626 refactor: get config path with inspect stack 2020-06-03 16:50:53 +08:00
debugtalk 2b30a1337b refactor: HttpRunner config & teststeps 2020-06-03 16:50:53 +08:00
debugtalk 0905350e99 refactor: relocate testcase definitions 2020-06-03 16:50:53 +08:00
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 60482beb8b Merge pull request #912 from httprunner/sponsor
docs: update sponsor info
2020-06-01 16:33:06 +08:00
debugtalk 908fa71659 docs: update sponsor info 2020-06-01 15:35:21 +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