Skip to content

Conversation

grynspan
Copy link
Contributor

This PR adds a new Issue kind, .recordedByTool, that takes a custom payload provided by a third-party tool or library (e.g. Nimble). This case can then be used to distinguish issues specific to tools while also providing sufficient infrastructural support to allow those tools to distinguish issues they created at later stages of the testing workflow. (If this sounds abstract, it is—the proposed API is meant to be used in a fairly arbitrary fashion by an open set of third-party tools and libraries.)

Resolves #490.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

… test libraries.

This PR adds a new `Issue` kind, `.recordedByTool`, that takes a custom payload provided by a third-party tool or library (e.g. Nimble). This case can then be used to distinguish issues specific to tools while also providing sufficient infrastructural support to allow those tools to distinguish issues they created at later stages of the testing workflow. (If this sounds abstract, it is—the proposed API is meant to be used in a fairly arbitrary fashion by an open set of third-party tools and libraries.)

Resolves #490.
@grynspan grynspan added enhancement New feature or request tools integration 🛠️ Integration of swift-testing into tools/IDEs public-api Affects public API labels Jun 29, 2024
@grynspan grynspan self-assigned this Jun 29, 2024
@grynspan grynspan marked this pull request as draft June 29, 2024 13:47
@grynspan grynspan added this to the Swift 6.1 milestone Sep 10, 2024
@grynspan grynspan modified the milestones: Swift 6.1, Swift 6.2 Nov 19, 2024
@grynspan grynspan modified the milestones: Swift 6.2, Swift 6.x Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request public-api Affects public API tools integration 🛠️ Integration of swift-testing into tools/IDEs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Issue.Kind case for third party expectations.
1 participant