Structure
TestResultsAction
Reads and normalizes test-result artifacts produced by a prior test run.
struct TestResultsActionOverview
ShipItSwifty does not generate test results here — it reads and normalizes artifacts that the platform toolchain already produced:
iOS:
.xcresultbundles created byxcodebuild test -resultBundlePath ...Android: Gradle JUnit XML reports written under
build/test-results/...
Usage
let result = try await TestResultsAction().run(
with: .init(xcresultPath: "./build/MyApp-tests.xcresult"),
context: context
)
print(result.report.summary.failed)Topics
Structures
struct OptionsThe typed configuration for this action, decoded from Shipfile YAML or CLI flags.
struct ResultThe typed result returned after this action completes.
Initializers
Instance Methods
func run(with: TestResultsAction.Options, context: ActionContext) async throws -> TestResultsAction.ResultExecute the action with the given options.
Type Properties
static let description: StringLong-form description for
--helpoutput and documentation.static let name: StringHuman-readable identifier, e.g.
"build","upload".
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype