TestPoint
public struct TestPoint: AutoEquatable
Test Points represent the result of one single assertion.
-
Creates a Test Point with the given options.
Parameter
Parameter isOk: Indicates wether the point succeeded.Parameter
Parameter message: An optional message that will be printed.Parameter
Parameter details: A Yaml of details to be displayed.Declaration
Swift
public init( isOk: Bool, message: String?, source location: SourceLocation, details: [String: Yaml]? = nil )Parameters
isOkIndicates wether the point succeeded.
messageAn optional message that will be printed.
detailsA Yaml of details to be displayed.
View on GitHub
Install in Dash
TestPoint Struct Reference