October 2018
Intermediate to advanced
420 pages
10h 26m
English
Having read this chapter, you should now be able to test your code, and debug it when issues are found.
This chapter described how testing can be done, in a way that is fully automated so that it can be integrated in continuous integration systems. The Python standard library is a solid foundation on which RxPY and asynchronous code can be tested rather easily. You should also understand why pure functions are easier to test than side-effects: they can be fully tested by using dependency injection, which is easier to use than stubs or mocks.
Logging is a subject in-between testing and debugging. It can be useful during the initial testing phases, or when regressions are detected. One major benefit of ReactiveX here is that, once a ...