Skip to content

Latest commit

 

History

History
49 lines (26 loc) · 1.81 KB

File metadata and controls

49 lines (26 loc) · 1.81 KB

UTBot Java Developer Guide

Here are the steps for you to jump into UTBot Java.

Install UTBot Java from source

  1. Clone UTBot Java repository via Git
  2. Open project in IDE

image

⚠️ Important don`t forgets at this step:

✔️ check your Project SDK and Gradle SDK are of 1.8 Java version.

image image

✔️ check your System environment variables: the KOTLIN_HOME variable path should be set up

image

  1. Open Gradle tool window
  2. Launch Task utbot > Tasks > build > assemble

image

  1. Wait for the build to be completed

Done! You`re awesome and ready for digging the code. 😃

Development of UTBot Java with IntelliJ IDEA

The majority of the code is written in Kotlin.

The project is divided into Gradle subprojects. The most significant of them are:

  1. utbot-framework — all about the engine and tests for it

  2. utbot-intellij — IDE plugin

  3. utbot-sample — a framework with examples to demonstrate engine capacity

Testing

The project contains many tests. They are usually placed in test root of the particular Gradle subproject.

While developing, it`s useful to run tests from utbot-framework subproject. The majority of tests from this subproject generate tests for samples from the utbot-sample subproject.