Skip to content

Structure

TestResultsAction

Reads and normalizes test-result artifacts produced by a prior test run.

struct TestResultsAction

Overview

ShipItSwifty does not generate test results here — it reads and normalizes artifacts that the platform toolchain already produced:

  • iOS: .xcresult bundles created by xcodebuild 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 Options

    The typed configuration for this action, decoded from Shipfile YAML or CLI flags.

  • struct Result

    The typed result returned after this action completes.

Initializers

Type Properties

Default Implementations

Relationships

Conforms To

  • Action
  • Swift.Sendable
  • Swift.SendableMetatype