Classes

The following classes are available globally.

  • This is the entry point for all of your tests. Declare a function that takes Tape and write your tests! In order to see how to test in detail see Test.

    func describeYourTestSubject(taps: Taps) {
      taps.test("test property") { (t: Test)
        // Test property in here...
        t.end()
      }
    
      // more tests here...
    }
    
    // Starting tests
    Tape.runMain(tests: [
      describeYourTestSubject
    ])
    

    If you want to test Observables, use RxTaps.

    See more

    Declaration

    Swift

    public final class Taps: OfferingTaps