1. write a test
2. run your test and see how it fails.
3. write code that will satify the test
4. run your test again and see your new test pass.
5. refactor your code
6. run your test again to confirm the test didn't break
7. repeat