Chapter 7. Testing Your RxJava Application

While writing software, especially software which will be used by a lot of users, we need to be sure that everything is working correctly. We can write readable, well-structured, and modular code, which will make it easier for changing and maintaining. We should write tests because, with every feature, there is the danger of regression. When we already have tests for the existing code, refactoring it won't be as hard, because the tests could be run against the new, changed code.

Almost everything needs to be tested and automated. There are even ideologies such as test-driven development (TDD) and behavior-driven development (BDD). If we don't write automated tests, our ever-changing code tends to break ...

Get Learning Reactive Programming with Java 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.