Functions
The following functions are available globally.
-
A way to get either the current QuickSpec or AsyncSpec, whichever is relevant to the given context This is intended to be used inside of
beforeSuiteorafterSuiteclosures, in order to accessXCTestCaseAPIs (e.g.expectation(description:)orwaitForExpectations())This does not work with standard XCTest APIs - this does not provide the currently executing
XCTestCaseinstance for tests defined usingXCTest.Declaration
Swift
public func currentSpec() -> XCTestCase?
View on GitHub
Functions Reference