O'Reilly logo

Test-Driven Java Development - Second Edition by Viktor Farcic, Alex Garcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The IDEA demo project

Let's create the base layout of the demo project. This project will be used throughout this chapter to illustrate all the topics that are covered. Java will be the programming language and Gradle (http://gradle.org/) will be used to run different sets of tasks, such as building, testing, and so on.

Let us import into IDEA the repository that contains examples from this chapter:

  1. Open IntelliJ IDEA, select Check out from Version Control, and click on Git.
  2. Type https://bitbucket.org/vfarcic/tdd-java-ch02-example-junit.git in the Git repository URL and click on Clone. Confirm for the rest of the IDEA questions until a new project is created with code cloned from the Git repository. 

The imported project should look similar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required