Skip to main content

Module swift

Module swift 

Source
Expand description

Swift e2e test generator using XCTest.

Generates a standalone Swift package at e2e/swift_e2e/ that depends on the binding at packages/swift/ via .package(path:).

IMPORTANT: SwiftPM 6.0 derives the identity of path-based dependencies from the path’s basename and ignores any explicit name: override. If the consumer (e2e/swift/) and the dep (packages/swift/) share the same path basename swift, SwiftPM treats them as the same package and fails resolution with: product '<X>' required by package 'swift' target '...' not found in package 'swift'. The e2e package is therefore emitted under swift_e2e/ to guarantee a distinct identity from any sibling packages/swift/ dep.

Structs§

SwiftE2eCodegen
Swift e2e code generator.