From aab22672e31f4018fe40e5c810bcdaf13f0712ad Mon Sep 17 00:00:00 2001 From: Dmitrii Gridnev Date: Fri, 10 Oct 2025 15:16:15 +0300 Subject: [PATCH] feat: release version updates with automatic public report link support - Updated version to 2.0.3 for qase-behave, 7.0.5 for qase-pytest, and 2.0.4 for qase-tavern in pyproject.toml. - Added functionality to enable automatic public report link generation for test runs across all components. - Updated changelogs to reflect the new versions and changes. This release enhances reporting capabilities by allowing users to generate public links for test run reports. --- qase-behave/changelog.md | 6 ++++++ qase-behave/pyproject.toml | 4 ++-- qase-behave/src/qase/behave/formatter.py | 4 ++++ qase-pytest/changelog.md | 6 ++++++ qase-pytest/pyproject.toml | 4 ++-- qase-pytest/src/qase/pytest/conftest.py | 4 ++++ qase-pytest/src/qase/pytest/options.py | 9 +++++++++ qase-tavern/changelog.md | 6 ++++++ qase-tavern/pyproject.toml | 4 ++-- qase-tavern/src/qase/tavern/conftest.py | 4 ++++ qase-tavern/src/qase/tavern/options.py | 9 +++++++++ 11 files changed, 54 insertions(+), 6 deletions(-) diff --git a/qase-behave/changelog.md b/qase-behave/changelog.md index 31bbb52d..af13be99 100644 --- a/qase-behave/changelog.md +++ b/qase-behave/changelog.md @@ -1,3 +1,9 @@ +# qase-behave 2.0.3 + +## What's new + +- Added support for automatic public report link generation. + # qase-behave 2.0.2 ## What's new diff --git a/qase-behave/pyproject.toml b/qase-behave/pyproject.toml index 5117d0fe..fcd72919 100644 --- a/qase-behave/pyproject.toml +++ b/qase-behave/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qase-behave" -version = "2.0.2" +version = "2.0.3" description = "Qase Behave Plugin for Qase TestOps and Qase Report" readme = "README.md" keywords = ["qase", "behave", "plugin", "testops", "report", "qase reporting", "test observability"] @@ -28,7 +28,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "qase-python-commons~=4.1.0", + "qase-python-commons~=4.1.1", "behave>=1.2.6", "more_itertools", ] diff --git a/qase-behave/src/qase/behave/formatter.py b/qase-behave/src/qase/behave/formatter.py index 77c3689a..e67b3ead 100644 --- a/qase-behave/src/qase/behave/formatter.py +++ b/qase-behave/src/qase/behave/formatter.py @@ -176,6 +176,10 @@ def __parse_config(userdata) -> ConfigManager: cfg_mgr.config.testops.set_status_filter( [status.strip() for status in userdata['qase-testops-status-filter'].split(',')]) + if 'qase-testops-show-public-report-link' in userdata: + cfg_mgr.config.testops.set_show_public_report_link( + userdata['qase-testops-show-public-report-link']) + if 'qase-status-mapping' in userdata: # Parse status mapping from userdata # Format: "source1=target1,source2=target2" diff --git a/qase-pytest/changelog.md b/qase-pytest/changelog.md index 3020753a..52cbe32b 100644 --- a/qase-pytest/changelog.md +++ b/qase-pytest/changelog.md @@ -1,3 +1,9 @@ +# qase-pytest 7.0.5 + +## What's new + +- Added support for automatic public report link generation. + # qase-pytest 7.0.4 ## Bug fixes diff --git a/qase-pytest/pyproject.toml b/qase-pytest/pyproject.toml index 2292f6a6..6908d9df 100644 --- a/qase-pytest/pyproject.toml +++ b/qase-pytest/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qase-pytest" -version = "7.0.4" +version = "7.0.5" description = "Qase Pytest Plugin for Qase TestOps and Qase Report" readme = "README.md" keywords = ["qase", "pytest", "plugin", "testops", "report", "qase reporting", "test observability"] @@ -28,7 +28,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "qase-python-commons~=4.1.0", + "qase-python-commons~=4.1.1", "pytest>=7.4.4", "filelock>=3.12.2", "more_itertools", diff --git a/qase-pytest/src/qase/pytest/conftest.py b/qase-pytest/src/qase/pytest/conftest.py index efab9803..60cbc0b0 100644 --- a/qase-pytest/src/qase/pytest/conftest.py +++ b/qase-pytest/src/qase/pytest/conftest.py @@ -190,6 +190,10 @@ def setup_config_manager(config): config_manager.config.testops.set_status_filter( [status.strip() for status in config.option.__dict__[option].split(',')]) + if option == "qase_testops_show_public_report_link" and config.option.__dict__[option] is not None: + config_manager.config.testops.set_show_public_report_link( + config.option.__dict__[option]) + if option == "qase_status_mapping" and config.option.__dict__[option] is not None: # Parse status mapping from CLI parameter # Format: "source1=target1,source2=target2" diff --git a/qase-pytest/src/qase/pytest/options.py b/qase-pytest/src/qase/pytest/options.py index c4a31f6a..92480c3c 100644 --- a/qase-pytest/src/qase/pytest/options.py +++ b/qase-pytest/src/qase/pytest/options.py @@ -183,6 +183,15 @@ def addoptions(parser, group): help="Filter results by status. Format: 'passed,failed,skipped'" ) + QasePytestOptions.add_option( + parser, + group, + "--qase-testops-show-public-report-link", + dest="qase_testops_show_public_report_link", + type="bool", + help="Enable automatic generation of public report link after test run completion" + ) + QasePytestOptions.add_option( parser, group, diff --git a/qase-tavern/changelog.md b/qase-tavern/changelog.md index f478003c..701ac87d 100644 --- a/qase-tavern/changelog.md +++ b/qase-tavern/changelog.md @@ -1,3 +1,9 @@ +# qase-tavern 2.0.4 + +## What's new + +- Added support for automatic public report link generation. + # qase-tavern 2.0.3 ## Bug fixes diff --git a/qase-tavern/pyproject.toml b/qase-tavern/pyproject.toml index 9b2048bd..d507a38c 100644 --- a/qase-tavern/pyproject.toml +++ b/qase-tavern/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qase-tavern" -version = "2.0.3" +version = "2.0.4" description = "Qase Tavern Plugin for Qase TestOps and Qase Report" readme = "README.md" keywords = ["qase", "tavern", "plugin", "testops", "report", "qase reporting", "test observability"] @@ -28,7 +28,7 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "qase-python-commons~=4.1.0", + "qase-python-commons~=4.1.1", "pytest>=7,<7.3", "filelock>=3.12.2", "more_itertools", diff --git a/qase-tavern/src/qase/tavern/conftest.py b/qase-tavern/src/qase/tavern/conftest.py index 7fc67f18..c9ab34e4 100644 --- a/qase-tavern/src/qase/tavern/conftest.py +++ b/qase-tavern/src/qase/tavern/conftest.py @@ -132,6 +132,10 @@ def setup_config_manager(config): config_manager.config.testops.set_status_filter( [status.strip() for status in config.option.__dict__[option].split(',')]) + if option == "qase_testops_show_public_report_link" and config.option.__dict__[option] is not None: + config_manager.config.testops.set_show_public_report_link( + config.option.__dict__[option]) + if option == "qase_status_mapping" and config.option.__dict__[option] is not None: # Parse status mapping from CLI parameter # Format: "source1=target1,source2=target2" diff --git a/qase-tavern/src/qase/tavern/options.py b/qase-tavern/src/qase/tavern/options.py index 5cdf75fb..0423e851 100644 --- a/qase-tavern/src/qase/tavern/options.py +++ b/qase-tavern/src/qase/tavern/options.py @@ -183,6 +183,15 @@ def addoptions(parser, group): help="Filter results by status. Format: 'passed,failed,skipped'" ) + QasePytestOptions.add_option( + parser, + group, + "--qase-testops-show-public-report-link", + dest="qase_testops_show_public_report_link", + type="bool", + help="Enable automatic generation of public report link after test run completion" + ) + QasePytestOptions.add_option( parser, group,