Become a member
Sign in
Small things when unit testing RxJava in Android
604
12
Quang Nguyen
Wiktor Wardzichowski
Wiktor Wardzichowski
Jul 23, 2017 · 1 min read

If you use RxJava 2 there is build in method test() for Observables/ Flowables https://github.com/ReactiveX/RxJava/wiki/What’s-different-in-2.0#testing, so you don’t need to set your TestSubscriber/TestObserver from outside.

  • Rxjava2
  • Android App Development

Wiktor Wardzichowski

Written by

Wiktor Wardzichowski

See responses (1)

Discover Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Make Medium yours

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Become a member

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
AboutHelpLegal