You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
these are the open problems with the reactive versions:
If one gesture recognizer starts and ends, and then the other starts, the timer is started, but it should not (testBeganPanEndedPanBeganRotateGesture)
The last Tick and Completed happen immediately after each other, in the imperative version there is a second time between
The timer counts up, not down like the imperative version
It leaks (Reactive Code Leaks #5), maybe we can unit test this via RxSwift.resourceCount
Currently 2 problems exist with the unit tests:
Cannot use Variable for MockReactiveTimer, as Variable sends the first value immediately, but we need it to wait until the first call to mockExecuteOnTick (I asked at the RxSwift project for some advice on this Mock Timer for Unit Tests ReactiveX/RxSwift#490)
Cannot use XCTAssertNil(mockTimer) at the moment, as we need to retain the mockTimer, as it is not directly provided as Observable to the sut
The text was updated successfully, but these errors were encountered:
Cool, I can edit other's posts ;-) skip could work for fixing the unit tests. But it would not fix the XCTAssertNil(mockTimer) issue. Let's see, maybe someone in the linked RxSwift issue has an idea. Meanwhile we could try skip.
originally by @fabb :
#4 (comment)
these are the open problems with the reactive versions:
Currently 2 problems exist with the unit tests:
The text was updated successfully, but these errors were encountered: