Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Guidelines
- JUnit 4 tests with annotations
- Mockito for Mocking as much as possible
- PowerMock only where needed. If possible make changes to allow Mockito to work (remove statics, final classes, etc.)
- Hamcrest Matchers for complex assertions Junit Assert.* for simple checks
- Create Base Tests and setup methods to avoid boiler-plate code distracting from the meaningful work and assertions