-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for custom xfail statuses in pytest
- Introduced configuration for custom statuses of xfail-marked tests. - Default statuses: `skipped` for failed tests and `passed` for successful tests. - Added methods to read values from `qase.config.json` and environment variables: - `QASE_PYTEST_XFAIL_STATUS_XFAIL` for failed xfail tests. - `QASE_PYTEST_XFAIL_STATUS_XPASS` for successful xfail tests.
- Loading branch information
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
# [email protected] | ||
|
||
## What's new | ||
|
||
- Support for custom statuses of xfail-marked tests in pytest. | ||
- Default statuses: `skipped` (failed xfail) and `passed` (successful xfail). | ||
- Configuration values can be set via `qase.config.json` or environment variables: | ||
- `QASE_PYTEST_XFAIL_STATUS_XFAIL` | ||
- `QASE_PYTEST_XFAIL_STATUS_XPASS` | ||
|
||
# [email protected] | ||
|
||
## What's new | ||
|
||
Updated the handling of Gherkin steps to concatenate `keyword` and `name` into the action field when they differ, providing | ||
Updated the handling of Gherkin steps to concatenate `keyword` and `name` into the action field when they differ, | ||
providing | ||
a more descriptive step action. | ||
|
||
# [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "qase-python-commons" | ||
version = "3.2.3" | ||
version = "3.2.4" | ||
description = "A library for Qase TestOps and Qase Report" | ||
readme = "README.md" | ||
authors = [{name = "Qase Team", email = "[email protected]"}] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters