Skip to content

Expose SPI to cast ABI.EncodedTest to/from Test.#1617

Merged
grynspan merged 6 commits intomainfrom
jgrynspan/encodedtest-as-spi
Mar 10, 2026
Merged

Expose SPI to cast ABI.EncodedTest to/from Test.#1617
grynspan merged 6 commits intomainfrom
jgrynspan/encodedtest-as-spi

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Mar 9, 2026

Follow-up to #1587.

Exposes SPI initializers on ABI.EncodedTest and Test to convert to/from each other. The initializers are inherently lossy (after all, you can't encode a test body in JSON).

Checklist:

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

Follow-up to #1587.

Exposes SPI initializers on `ABI.EncodedTest` and `Test` to convert to/from each other. The initializers are inherently lossy (after all, you can't encode a test body in JSON).
@grynspan grynspan added this to the Swift 6.4.0 (main) milestone Mar 9, 2026
@grynspan grynspan self-assigned this Mar 9, 2026
@grynspan grynspan added enhancement New feature or request tools integration 🛠️ Integration of swift-testing into tools/IDEs performance 🏎️ Performance issues discovery 🔎 test content discovery labels Mar 9, 2026
@grynspan grynspan merged commit 73f961e into main Mar 10, 2026
27 checks passed
@grynspan grynspan deleted the jgrynspan/encodedtest-as-spi branch March 10, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discovery 🔎 test content discovery enhancement New feature or request performance 🏎️ Performance issues tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants