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:
- Open IntelliJ IDEA, select Check out from Version Control, and click on Git.
- 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 ...