Skip to content

ENUM

Project.Options.AutomaticSchemesOptions

Contents

  • Cases
    • enabled(targetSchemesGrouping:codeCoverageEnabled:testingOptions:testLanguage:testRegion:testScreenCaptureFormat:runLanguage:runRegion:)
    • disabled
swift
public enum AutomaticSchemesOptions: Codable, Equatable, Sendable

Automatic schemes options allow customizing the generation of the target schemes.

Cases

enabled(targetSchemesGrouping:codeCoverageEnabled:testingOptions:testLanguage:testRegion:testScreenCaptureFormat:runLanguage:runRegion:)

swift
case enabled(
    targetSchemesGrouping: TargetSchemesGrouping = .byNameSuffix(
        build: ["Implementation", "Interface", "Mocks", "Testing"],
        test: ["Tests", "IntegrationTests", "UITests", "SnapshotTests"],
        run: ["App", "Demo"]
    ),
    codeCoverageEnabled: Bool = false,
    testingOptions: TestingOptions = [],
    testLanguage: SchemeLanguage? = nil,
    testRegion: String? = nil,
    testScreenCaptureFormat: ScreenCaptureFormat? = nil,
    runLanguage: SchemeLanguage? = nil,
    runRegion: String? = nil
)

Enable autogenerated schemes

disabled

swift
case disabled

Disable autogenerated schemes

Released under the MIT License.