Functions
The following functions are available globally.
-
The URL of the directory where the graphics test artifacts for the given
testNamewill be generated.Declaration
Swift
public func testCaseDirectory(for testCaseName: String) -> URL -
Declaration
Swift
public func location(forFile fileName: String, in testCaseName: String) -> URLReturn Value
The URL for the given
fileNamein the directory for the giventestCaseName. -
Creates the directory where the graphics test artifacts for the given
testNamewill be generated.Declaration
Swift
public func createArtifactsDirectory(for testName: String) -
Opens the artifacts directory in the finder for easy visual perusing.
Declaration
Swift
public func openArtifactsDirectory() -
Render the given
StyledPath.Compositeto PDF in the direction for the test case with the giventestCaseName, with the givenfileName.Declaration
Swift
public func render( _ composite: StyledPath.Composite, fileName: String, testCaseName: String )
View on GitHub
Install in Dash
Functions Reference