4 "summary": "RxSwift Testing extensions",
5 "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```",
6 "homepage": "https://github.com/ReactiveX/RxSwift",
9 "Krunoslav Zaher": "krunoslav.zaher@gmail.com"
12 "git": "https://github.com/ReactiveX/RxSwift.git",
21 "source_files": "RxTests/**/*.swift",
22 "frameworks": "XCTest",
28 "deprecated_in_favor_of": "RxTest"