Tag Archives: mocks

Test First Design Benefits

Why you should test implementation details. Continue reading

Advertisements
Posted in Opinion | Tagged , , , | Leave a comment

No, TDD isn’t dead, it just takes a bit of practice

In the recent ‘is TDD Dead‘ debates, DHH said that he felt TDD could lead to test induced damage particularly when using mocks. He said that it can lead to layers of indirection in the codebase. I’m a long time … Continue reading

Posted in Opinion | Tagged , , | 1 Comment

Why I LIke Whitebox Testing

A couple of weeks ago I had a discussion with a colleague about some Specflow acceptance tests we were writing. ┬áThese are for an Azure Service Bus based integration solution and the feature we were testing publishes messages to the … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Writing Unit Tests is Quick and Easy

Writing a unit test should be done before you write your implementation. It should be quick and easy. Sometimes it may feel like writing your unit test is taking a long time. If you are writing your test first (like … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment