Absolutely, and how can you make it easier?.
- Well, first step is to be aware of tons of tools available to make your life easier for writing tests (test frameworks, mock, fixtures).
- use the right tools in right way (when to use and not use mock)
- don't over test / verify (over mocking will be your maintanence nightmare)
- check out the video BDD with shoulda by Tammer
- Mocking (Advantages, disadvantages)
- Over Mocking (problems)
- Fixtures (why is it bad?, alternatives)
- White box vs Black box
- Brittle tests (what is it?, how to avoid?)
No comments:
Post a Comment