Testing Android apps based on Dagger and RxJava

In this talk, you will learn:

  1. how to take advantage of Mockito and other libraries to write good JVM and Espresso tests
  2. how to use DaggerMock (an open source library available on github https://github.com/fabioCollini/DaggerMock) to avoid boilerplate code in tests
  3. how to test asynchronous RxJava code using a JVM test

Writing reliable tests is not easy for many reasons, especially when asynchronous code is involved. Some libraries can be used to create a testable architecture (for example Dagger and RxJava) and to simplify testing (Mockito, AssertJ and DaggerMock). In this talk we’ll see how to write JVM and Espresso tests with particular attention on how to replace real objects with mocks and how to test asynchronous RxJava code.



Location: Sala Madrid Date: 7 April 2017 Time: 14:30 - 15:20 OLYMPUS DIGITAL CAMERA Fabio Collini

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this. This site use third part services that use cookies: Lead Champion is a lead generation service provided by IntelligenceFocus Inc. Place: Italy – Privacy PolicyOpt Out