Skip to content
Sarah Taraporewalla
Go back

What is a good test?

I have been helping my current client introduce TDD, and in doing so explaining principles such as single-responsibility, encapsulation and intention revealing names. As I said in my previous post Test first does not magically improve the code base, but you need to concentrate on writing good tests to help you drive out good design. This is my list of what I think characterises a good test (although I don’t think its definitive - I am sure I have missed some things out).

 

In my next post I will share a conversation I had this week with my client, which shows how I introduce these characteristics to my test.

Share this post:

Previous Post
A conversation with a TDDer
Next Post
TDD does not mean Test First