OfferingTaps

public protocol OfferingTaps

The protocol, all TestCase entry points will be defined on.

  • rx Extension method

    The Rx API of Taps.

    Declaration

    Swift

    public var rx: RxTaps
  • skip(_:) Extension method

    All tests defined inside the use of directive will be skipped.

    Declaration

    Swift

    public func skip(_ message: String) -> OfferingTaps
  • skip Extension method

    All tests defined inside the use of directive will be skipped.

    Declaration

    Swift

    public var skip: OfferingTaps
  • A tester for potentially throwing tests.

    Parameter

    Parameter test: The name of the test.

    Parameter

    Parameter plan: The amount of expected TestPoints. Will automatically call TestPoint.end if all planned tests have been run.

    Parameter

    Parameter directive: The Directive that shall be applied. If TestPoints fail, they won’t break the build.

    Parameter

    Parameter timeout: The interval defining the maximum duration the test may need.

    Parameter

    Parameter scheduler: The scheduler for the test. Visit RxSwift for more info.

    Parameter

    Parameter test: A function that runs your tests.

    Declaration

    Swift

    public func test(
        _ title: String? = nil,
        plan: Int? = nil,
        file: String = #file,
        line: Int = #line,
        column: Int = #column,
        function: String = #function,
        timeout interval: RxTimeInterval? = nil,
        scheduler: SchedulerType? = nil,
        with tests: @escaping (Test) throws -> Void
      )

    Parameters

    test

    The name of the test.

    plan

    The amount of expected TestPoints. Will automatically call TestPoint.end if all planned tests have been run.

    directive

    The Directive that shall be applied. If TestPoints fail, they won’t break the build.

    timeout

    The interval defining the maximum duration the test may need.

    scheduler

    The scheduler for the test. Visit RxSwift for more info.

    test

    A function that runs your tests.

  • todo(_:) Extension method

    All tests defined inside the use of directive will be marked as todo. If they fail, the test is marked as not ok, but as passing.

    Declaration

    Swift

    public func todo(_ message: String) -> OfferingTaps
  • todo Extension method

    All tests defined inside the use of directive will be marked as todo. If they fail, the test is marked as not ok, but as passing.

    Declaration

    Swift

    public var todo: OfferingTaps