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

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Setting up the project structure

Setting up the project structure

- [Instructor] So let's set up the development environment. I've got Eclipse open here, and I've got no projects open at the moment, so I suggest you follow along with me throughout this course and we'll start then by creating a new project. And I think we'll call this ISBN Validator. And we'll click on finish. And I'm going to go and create a class in this project. And we'll call this class Validate ISBN. And I'd like to put it in a package; I think we'll pick com dot virtual programmers dot ISBN tools. And we'll click on finish. Now before we write any code in this class, we're going to create a unit test in class to work with, so let's go and create one of those. We'll click on file, new, and J Unit Test Case. Now Eclipse has helpfully filled in some of the fields here for us, but let's go through them. At the top, we have the choice of whether we want to use J Unit three or four, so we go to picture unit 4, the most recent version of J Unit. In case you've not come across J Unit…

Contents