- Write the test cases first.
- Never write test case that succeed the first time.
- Start with null case or something that doesn’t work.
- Don’t be afraid of doing something trivial to make the test work.
- Loose coupling & testability go in hand.
- Use mock Object
No comments:
Post a Comment