Testing has been mentioned a lot of times in previous chapters, especially while stating that ReactiveX and functional programming ease code testing. So, the time has come to see how to test RxPY code. This chapter is composed of three parts, each of which explain how to test and debug an RxPY application:
- The first part is dedicated to testing: what testing is, how to do it in Python, and how to apply it to RxPY and AsyncIO code
- The second part explains the importance of logging, and presents a possible way to implement it in a functional application
- Finally, the third part describes debugging an RxPY application and how to use the debug tools available in AsyncIO