enhancementhelp wanted
Métriques du dépôt
- Stars
- (377 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
To test:
- Presenter (e.g. lifecycle behavior and callbacks)
- Data sources (e.g. caching behavior)
- Parsers (e.g. correctly parsing and dealing with edge cases)
The tools of choice:
- Mockito
- Robolectric (if necessary)
Style:
- Unit tests belong in src/test/...
- Test classes should follow the package structure as the classes they want to test.
- Test classes should have the same name as their test target, just postfixed with "Test".
- Method names
testMethodToTestfor basic behavior andtestMethodToTest_forSpecificCases