Project Setup

Importingjava-demo

The java-demo application is a simple checker of the result of a traditional game of "Tic Tac Toe" (or "Noughts and Crosses") which can be found at https://github.com/diffblue/java-demo. Here it is used to demonstrate the features of the Diffblue Cover IntelliJ plugin.

Start IntelliJ without a project loaded to see a welcome screen:

Choose Git from the Check out from Version Control option. Enter the java-demo url into the repository box, selecting an appropriate location for the project.

Once it has been successfully cloned, expand the java-demo section under Project and also the Maven menu on the right-hand side. Then expand Lifecycle under Java Demo Project.

Right click on package and Run Maven build. This will generate the java-demo-1.0.0.jar file in the target folder.

results matching ""

    No results matching ""