I'm trying to understand unit testing in android / java, why we need where and how to use them.
Questions:
- What classes need to be covered with tests?
- What is the best (most popular) for unit tests in android?
I'm trying to understand unit testing in android / java, why we need where and how to use them.
Questions:
There is such a framework for unit tests on an android: Mockito
But to understand the principles of unit testing, it is worth reading at least some number of articles / books. Start with an article in Wikipedia , follow the links in the issue of Google on the corresponding request.
Source: https://ru.stackoverflow.com/questions/537754/
All Articles
Java. Since all the "units" are written injava, then their testing is carried out exactly to the point, as for the usualjava- Vladyslav Matviienko