mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
3.1 KiB
3.1 KiB
Release History
3.0.7 (2020-06-03)
Added
- feat: make pytest files in chain style
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: generate pytest in chain style by default
- docs: update sponsor info
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,filetypeas optional dependencies - change: move all unittests to tests folder
- change: save testcase log in PWD/logs/ directory
3.0.5 (2020-05-22)
Added
- feat: each testcase has an unique id in uuid4 format
- feat: add default header
HRUN-Request-IDfor each testcase #721 - feat: builtin allure report
- feat: dump log for each testcase
Fixed
- fix: ensure referenced testcase share the same session
Changed
- change: remove default added
-soption for hrun
3.0.4 (2020-05-19)
Added
- feat: make testsuite and run testsuite
- feat: testcase/testsuite config support getting variables by function
- feat: har2case with request cookies
- feat: log request/response headers and body with indent
Fixed
- fix: extract response cookies
- fix: handle errors when no valid testcases generated
Changed
- change: har2case do not ignore request headers, except for header startswith :
3.0.3 (2020-05-17)
Fixed
- fix: compatibility with testcase file path includes dots, space and minus sign
- fix: testcase generator, validate content.xxx => body.xxx
- fix: scaffold for v3
3.0.2 (2020-05-16)
Added
- feat: add
makesub-command to generate python testcases from YAML/JSON - feat: format generated python testcases with
black - test: add postman echo & httpbin as testcase examples
Changed
- refactor all
- replace jsonschema validation with pydantic
- remove compatibility with testcase/testsuite format v1
- replace unittest with pytest
- remove builtin html report, allure will be used with pytest later
- remove locust support temporarily
- update command line interface
3.0.1 (2020-03-24)
Changed
- remove sentry sdk
3.0.0 (2020-03-10)
Added
- feat: dump log for each testcase
- feat: add default header
HRUN-Request-IDfor each testcase #721
Changed
- remove support for Python 2.7
- replace logging with loguru
- replace string format with f-string
- remove dependency colorama and colorlog
- generate reports/logs folder in current working directory
- remove cli
--validate - remove cli
--pretty