2 added 115 characters in body
source | link

Before the first unit test you think about what you want to happen and then think about how you would test that. Then write that test, see it fail and implement some code to make it pass.

Rinse, repeat, etc.

For me, it's the thinking about how you would test it bit that's important and it's what can drive your design.

Before the first unit test you think about what you want to happen and then think about how you would test that. Then write that test, see it fail and implement some code to make it pass.

Rinse, repeat, etc.

Before the first unit test you think about what you want to happen and then think about how you would test that. Then write that test, see it fail and implement some code to make it pass.

Rinse, repeat, etc.

For me, it's the thinking about how you would test it bit that's important and it's what can drive your design.

1
source | link

Before the first unit test you think about what you want to happen and then think about how you would test that. Then write that test, see it fail and implement some code to make it pass.

Rinse, repeat, etc.