Instance Propertyswift-testing 6.0.2Testing
nameComponents
The fully qualified name components (other than the module name) used to identify the corresponding test.
Test.ID.swift:18var nameComponents: [String]
Other members in extension
Type members
Show system interfaces (3)
Hide system interfaces
init(moduleName: String, nameComponents: [String], sourceLocation: SourceLocation?
) Initialize an instance of this type with the specified fully qualified name components.
init(type: Any.Type
) Initialize an instance of this type representing the specified test suite type.
init(typeInfo: TypeInfo
) Initialize an instance of this type representing the specified test suite type info.
Instance members
var description: String
var moduleName: String
The name of the module containing the corresponding test.
var parent: ID?
The ID of the parent test.
var sourceLocation: SourceLocation?
The source location of the corresponding test.