tags:

views:

72

answers:

5

Assume that my knowledge in programming is in novice level. Many thanks.

+1  A: 

I personally liked Bob Martin "Agile Principles, Patterns and Practices in C#"

Martin Smith
+4  A: 
  • This is a great intro, very practical, and doesn't assume you're going to be a high-level pro right away: The Art of Unit Testing. (It's .NET centric)

  • Heavier, but worth it if you are in the situation where you have existing code that needs to be improved, is Working Effectively With Legacy Code.

Also, some people's main problem with doing TDD is that they need to understand OOP/D better, in particular OOP/D where SOLID-type principals are valued. If this is the case, investigate the fantastic Code Complete, and 2 books by Uncle Bob: Clean Code a great Agile Principles, Patterns, and Practices in C# (.NET centric).

Patrick Karcher
+1 for Clean Code, start good practices early
Chad
Excellent point about SOLID et al. Since TDD is thought of as Red-Green-Refactor, you can't be really good at TDD without knowing what to refactor *to*.
JeffH
+4  A: 

Can't go wrong with Kent Beck's Test Driven Development: By Example

Chad
+1: While the examples are, IIRC, Java, they are simple enough for anyone with any programming skill to follow.
Richard
+1  A: 

Agile Java is a good one, clear and clean and easy to follow for beginner.

chenge
A: 

I used Test-Driven Development: A Practical Guide by David Astels to get started. I like it - its introductory chapters are practical but easy to follow, and then its later chapters take you through a project step-by-step. Its written with java in mind.

RoryG