From the course: Practical Test-Driven Development for Java Programmers

Welcome

- Hello and welcome to this course on test driven development. My name is Matt Greencroft and I'm going to be guiding you through the process of test driven development on this course. Because I'm going to be saying the words test driven development a number of times, most of the time, I'll abbreviate that to TDD. Well, TDD is not a new idea. It's been around since about 2003 and it's an important part of agile programming. If you practice TDD, and you do it consistently and thoroughly, then it promises to guide you to write clean code that works. Test driven development is a practice that comes from extreme programming. This is a way of writing code that complies with the agile manifesto. So many people associate TDD with agile, or in other words, if you're working in an agile way, then you really should be doing test driven development. However, unless you're starting a project from scratch, writing code using TDD can present some challenges. More often than not, we're asked to amend or enhance code that is part of an existing project where test driven development has not been used. So we're going to look at how you might approach this very common situation later on in the course. We will need to cover the basics first. Now I've called this course practical TDD because in addition to explaining the process that is required to carry out TDD, we're going to be focusing on the reality of how we can create unit tests, what kind of challenges you might meet along the way, and how to overcome them. We'll start in chapter one by understanding what is really meant by test driven development. Now all you need to get started for this course is a working development environment for Java set up and ready to use. I'm going to be using Eclipse on this course, but you can use any modern IDE that you like. If you're using IntelliJ, well, I've included an extra video just for you where I'll show you how to get things setup specifically in IntelliJ, as it's a little bit more complicated than some of the other IDE's. Okay, well let's get started. I'll see you in chapter one where we'll be talking about what TDD really means.

Contents