Classes
Classes
- Hook
- { actions: Array[Future[Error, Void]] }
- Signal
- | TestResult: { value: Result }
| Started: { value: Test }
| Finished: { value: Test }
- Test
- | Suite: { name : String
, tests : Array[Test]
, beforeAll : Hook
, afterAll : Hook
, beforeEach : Hook
, afterEach : Hook
}
| Case: { name : String
, test : Future[Error, Void]
, timeout : Maybe[<Number/ms>]
, slow : Maybe[<Number/ms>]
, enabled : Maybe[Case → Boolean]
}
- Report
- { started : Date
, finished : Date
, passed : Array[Result]
, failed : Array[Result]
, ignored : Array[Result]
}
- Duration
- { started : Date
, finished : Date
, slowThreshold : <Number/ms>
}
- LogEntry
- { date: Date
, log: Array[Any]
}
- Result
- | Success: { title : Array[String]
, duration : Duration
, log : Array[LogEntry]
}
| Failure: { title : Array[String]
, exception : Any
, duration : Duration
, log : Array[LogEntry]
}
| Ignored: { title: Array[String] }
- Config
- { slowThreshold : <Number/ms>
, timeout : <Number/ms>
, runOnly : Case → Boolean
}