UnitTestBot developer guide
October 17, 2022 ยท View on GitHub
When you have the forked repository on your local machine, you are almost ready to build your own version of UnitTestBot.
๐ก Before you start coding, please check the system requirements and find instructions on configuring development environment.
๐ก Get to know the code style we are used to.
How to build UnitTestBot with your improvements
The project structure is mostly straightforward and the modules are self-explanatory, e.g.:
utbot-frameworkโ everything related to UnitTestBot engine (including tests);utbot-intellijโ IDE plugin implementation;utbot-sampleโ a framework with examples to demonstrate engine capacity.
Learn UnitTestBot from inside and implement changes. To verify your improvements open Gradle tool window in IntelliJ IDEA:
- to run/debug plugin in IntelliJ IDEA choose and run the task: utbot โ utbot-intellij โ intellij โ runIde;
- to compile plugin choose and run the task: utbot โ utbot-intellij โ intellij โ buildPlugin. The resulting ZIP
file is located at
utbot-intellij/build/distributions.