Releases: allure-framework/allure-python
Releases · allure-framework/allure-python
2.14.1
2.14.0
🚀 New Features
- allure-pytest-bdd: the Allure API is now fully supported (implements #726 via #845) - @delatrie
- allure-pytest-bdd: expected failures (xfail) are supported (via #845) - @delatrie
- allure-pytest-bdd: steps can be renamed at runtime with
@allure.title
(implements #737 via #845) - @delatrie - allure-pytest-bdd: gherkin tags are converted to test result tags (via #845) - @delatrie
- allure-pytest-bdd: fill test result descriptions from feature and scenario descriptions (via #845) - @delatrie
- allure-pytest-bdd: convert data tables and doc strings to attachments (implements #844 via #845) - @delatrie
- allure-pytest-bdd: lint templates are supported via the
--allure-link-pattern
CLI argument. The syntax is similar toallure-pytest
(via #845) - @delatrie - commons: enable type checking for
allure
andallure_commons
packages (implements #731 via #850) - @delatrie - commons: add type annotations for
allure.step
(implements #759 and #828 # via #830) - @starod00m
🔬 Improvements
- allure-pytest-bdd: unexpected errors make tests and steps broken instead of failed (via #845) - @delatrie
- allure-pytest-bdd: pytest parameters of a test are now not duplicated in the test's name (via #845) - @delatrie
🐞 Bug Fixes
- commons: invalid SVG media type in
allure.attachment_type.SVG
(#840; fixed via #841) - @harmin-parra - allure-pytest-bdd: invalid test results are generated for scenarios with pytest parameters (#655; fixed via #845) - @delatrie
- allure-pytest-bdd: a skipped teardown overwrite the test's status (fixed via #845) - @delatrie
- commons: cleaning the Allure Resuts directory causes FileNotFoundError when running in a parallel environment (#807; fixed via #809) - @hokor
⬆️ Dependency Updates
- allure-pytest-bdd: drop the official support for pytest-bdd 3 and 4 (via #849) - @delatrie
- commons: drop the official support for Python 3.7 - @delatrie
📖 Documentation improvements
- allure-pytest: add a dynamic severity example (via #758) - @suhaibasaeed
👻 Internal changes
- build: fix a caching issue with the build workflow (via #810) - @delatrie
- build: update python versions to test against (via #842) - @delatrie
👀 Links
2.13.5
🐞 Bug fixes
👀 Links
2.13.4
🚀 New features
- Add logs, stdout and stderr to the allure-pytest-bdd report (via #801) - @IvanBuruyane
- Make allure-behave compatible with Behave v1.2.7.dev5 (implements #771 via #798) - @ercaronte
NOTE:
Use the following syntax to install a pre-release version of Behave 1.2.7:pip install -U git+https://github.com/behave/[email protected]
👻 Internal changes
👀 Links
2.13.3
🐞 Bug Fixes
🔬 Improvements
- Add pytest ParameterSet.id placeholder for @allure.title formatter (via #787) - @betapl3b
- Ignore --clean-alluredir when using --collectonly (via #753) - @ShurikMen
👻 Internal changes
- Expected fail of lazy-fixture tests (via #793) - @delatrie
- Replace direct type comparisons with isinstance (via #760) - @delatrie
Documentation changes
- Fix custom label doc: "allure-labels" -> "allure-label" (via #748) - @inqvan
- Update link to the docs (via #779) - @baev
- Use the standard header in all READMEs (via #784) - @delatrie
- Fix project's metadata. Add common READMEs (via #799) - @delatrie
👀 Links
2.13.2
2.13.1
2.13.0
- Close test results in the
pytest_runtest_protocol
hook instead ofpytest_runtest_logfinish
(via #732) - @delatrie - Make behave and robotframework allure tag syntax less strict (via #732) - @delatrie
- Mark test as skipped if pytest.exit is called from its fixture (via #732) - @delatrie
- General
allure.<link-type>[.<link-name>]:<link>
syntax for allure links in robotframework test case files (via #732) - @delatrie --clean-alluredir
now removes all alluredir's content recursively in allure-pytest (fixes #470) (via #732) - @delatrie- Links added via
allure.testcase
andallure.dynamic.testcase
now are correctly rendered by allure (fixes #448) (via #732) - @delatrie - Fix --allure-severities argument of allure-pytest (fixes #260, #261) (via #729) - @delatrie
- Fix allure links with text specified with robotframework tags with
<link type>:[<link text>]<URL>
syntax (via #732) - @delatrie - Add
--allure-label
command line option to filter test cases by custom labels (implements #725) (via #690) - @betapl3b - Fix parameters parsing from "Scenario Outline" for pytest-bdd >= 5.0.0 (fixes #636) (via #716) - @janxen
- Fix table data to csv conversion in allure-behave (via #718) - @delatrie
- Remove old python2-related code and add python 3.11 support (via #715) - @delatrie
- Fix failed doctest status reporting (via #709) - @delatrie