Update Testing Section
The testing section is out of date.
We should update it and address at least the following topics and tools:
- Unit Testing using JUnit 4
- Mocking, using Mockito
- Assertions using AssertJ
- Recommend not to use Roboletric for business logic testing
- RxJava testing using
TestSchedulerandTestSubscriber - Patterns to improve testability
- UI testings with Espresso
- Unit testing structure best practices
hey, I Also recommend to using hamcrest along with assertj android for more readable unit and instrumented tests.
there should be a best practices on instrumented tests reviewing how to test activites, services and application context.
I'm not aware if I can suggest more improvements for testing section or you just mind futurice developer's opinion. So please mention me if you want to get some more hints. tnx.
there should be a best practices on instrumented tests reviewing how to test activites, services and application context. +1