Why do most developers fear to make continuous changes to their code? They are afraid they’ll break it! Why are they afraid they’ll break it? Because they don’t have tests. – Robert C. Martin
Test Driven Development is a technique of software development which asks the developer to write production code by writing small tests for that production code first. Writing tests first ensures excellent code coverage, easy refactoring of the production code; as it is backed by a lot of tests which tell immediately if something breaks and incremental and lean software development. TDD is the insurance policy that allows developers to write code and ship it to the customer with confidence.
Readable, maintainable tests using the builder pattern
One of the most important aspect of TDD is [...]
Writing Your First Unit Test – Part 2
In the previous post, I gave an overview of how [...]
Writing your first unit test – Part 1
In this post, I am going to show you the [...]
Introduction to Mocking
If you have been reading about Unit Testing than [...]
Introduction to Behavior Driven Development
If you know about Unit Testing and Test Driven [...]
Different types of tests and which ones to use
In the previous article, I gave an introduction of [...]