Posts tagged as 'TDD'

Test the interface, not the implementation

In yesterday’s post, I mentioned that unit tests should test the interface and not the implementation. This is the simplest example I could think of to demonstrate this…

Why write the unit tests first?

At work today, a colleague and I did a presentation to the rest of the team on Test Driven Development. At BrightTALK we’ve been using unit tests for some of our code for a few months now, but it’s been very much a case of writing tests after writing the code. Often,...