Skip to content

Conversation

@gibiw
Copy link
Contributor

@gibiw gibiw commented Sep 10, 2025

This pull request introduces version 4.1.18 of the qase-java library, adding support for external links in test runs and for filtering test results by status. These changes enhance integration capabilities (e.g., linking runs to Jira issues) and allow more flexible reporting by excluding specific test statuses. The update also includes configuration and code changes to support these new features.

New features and configuration support:

  • Added support for external links in test runs, including new configuration options for specifying external link type (jiraCloud, jiraServer) and link URL in qase-java-commons/README.md and configuration files. [1] [2] [3] [4] [5] [6]
  • Added support for filtering test results by status, with new configuration options for specifying excluded statuses in qase-java-commons/README.md and config files. [1] [2] [3] [4]

Code changes for feature implementation:

  • Updated ApiClient and its implementations to support updating external issue links for test runs, including mapping configuration to API calls. [1] [2] [3]
  • Extended configuration loading logic to handle new external link and status filter options from environment variables, system properties, and JSON config files. [1] [2] [3] [4] [5]

Version updates:

- Introduced a new configuration option `testops.statusFilter` to filter test results by specified statuses.
- Updated `ConfigFactory` to load status filter from environment variables and properties.
- Enhanced `TestopsReporter` to skip results based on the configured status filter.
- Added unit tests to validate the status filtering functionality and its behavior with various configurations.
- Updated documentation to include the new status filter option.
- Introduced new configuration options for external links in test runs, including type and URL.
- Updated `ConfigFactory` to load external link configurations from environment variables and properties.
- Implemented `updateExternalIssue` method in `ApiClient` to handle external issue updates.
- Enhanced `TestopsReporter` to update external issue links when a test run is created.
- Added unit tests for the new external link functionality and its configuration handling.
- Updated documentation to include the new external link options.
- Updated version number to 4.1.18 in all relevant pom.xml files.
- Added support for external links in test runs.
- Introduced filtering capability for test results by status.
- Enhanced changelog to reflect the new version and features added.
@gibiw gibiw merged commit 2c00a46 into main Sep 10, 2025
4 checks passed
@gibiw gibiw deleted the feat/filter_and_links branch September 10, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants