Name: RxTestExt
Owner: RxSwift Community
Description: A collection of operators & tools not found in the core RxTest distribution
Created: 2017-11-07 21:06:05.0
Updated: 2018-05-11 11:14:52.0
Pushed: 2018-01-17 06:34:25.0
Homepage: null
Size: 56
Language: Swift
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A collection of operators & tools not found in the core RxTest distribution.
RxTestExt
can be used for common unit testing tasks like,
Testable Observer
For example:
testSomething() {
et source = scheduler.record(source: someObservable)
cheduler.bind([next(10, "alpha"), completed(10)],
to: someObserver)
cheduler.start()
ssert(source).next()
ssert(source).not.error()
TestableObserver
.TestableObserver
recorded next
events.TestableObserver
received error
events.TestableObserver
received complete
events.