O'Reilly logo

Learning Reactive Programming with Java 8 by Nickolay Tsvetinov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required