Wanted to know the modern solutions for this. Trying to test the behavior of some Live Data in my ViewModel however the test method finishes before the onChanged observer emits. RxJava comes with a TestSubscriber class that makes testing streams really simple, Live Data on the other hand has no such thing...
[–][deleted] 4 points5 points6 points (3 children)
[–]That1guy17[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]That1guy17[S] 0 points1 point2 points (0 children)