Tips, study notes, and mini-code samples
If you are not writing tests, you are writing an instant legacy code
- Michael Feathers.
It is better to have a simple test that works, other than a complicated test that seems to work
- mockito documentation.
General Testing Tips
- All tests must run really fast.
- All tests must be small and…