| "summary": "RxSwift Testing extensions", |
| "description": "Unit testing extensions for RxSwift. This library contains mock schedulers, observables, and observers\nthat should make unit testing your operators easy as unit testing RxSwift built-in operators.\n\nThis library contains everything you needed to write unit tests in the following way:\n```swift\nfunc testMap() {\n let scheduler = TestScheduler(initialClock: 0)\n\n let xs = scheduler.createHotObservable([\n next(150, 1),\n next(210, 0),\n next(220, 1),\n next(230, 2),\n next(240, 4),\n completed(300)\n ])\n\n let res = scheduler.start { xs.map { $0 * 2 } }\n\n let correctEvents = [\n next(210, 0 * 2),\n next(220, 1 * 2),\n next(230, 2 * 2),\n next(240, 4 * 2),\n completed(300)\n ]\n\n let correctSubscriptions = [\n Subscription(200, 300)\n ]\n\n XCTAssertEqual(res.events, correctEvents)\n XCTAssertEqual(xs.subscriptions, correctSubscriptions)\n}\n```", |
| "homepage": "https://github.com/ReactiveX/RxSwift", |
| "Krunoslav Zaher": "krunoslav.zaher@gmail.com" |
| "git": "https://github.com/ReactiveX/RxSwift.git", |
| "exclude_files": "RxTest/Platform/**/*.swift", |
| "pushed_with_swift_version": "3.0" |