Thread

public extension Thread
  • Check if the given thread is being run from inside an XCTest bundle

    Declaration

    Swift

    var isRunningXCTest: Bool { get }