Skip to content

STRUCT

FileTestPlan ​

Contents

swift
public struct FileTestPlan: Hashable, Codable

Reference an existing .xctestplan file on disk.

Properties ​

path ​

swift
public var path: FilePath

Path to the existing .xctestplan file.

name ​

swift
public var name: String

Name of the test plan.

testTargets ​

swift
public var testTargets: [TestableTarget]

Parameter testTargets is not used in Project.swift or Workspace.swift. It is filled after loading testplan and can be used in plugins.

isDefault ​

swift
public var isDefault: Bool

Whether this test plan is the default plan.

Methods ​

init(path:) ​

swift
public init(path: FilePath)