concept unit test in category android

appears as: unit test, A unit test, unit test, unit tests
RxJava for Android Developers

This is an excerpt from Manning's book RxJava for Android Developers.

You’ll explore exactly what this means soon, but to understand the motivation, you can think of a unit test.

A unit test is a piece of code that tests whether another piece of code does what it’s supposed to do.

The division of these two kinds of tests, unit tests and acceptance tests, seems reasonable. But the reality is again more of a spectrum: defining a unit test and an acceptance test is always debatable. In general, the more you’re dealing with pure data, the more likely you are to write a unit test. On the other hand, the closer you are to drawing things on screen, the more likely you are to write an acceptance test.