A plugin designed for generating product code based on tests written for it. It is anticipated to become an indispensable tool when writing code in TDD/BDD styles.
The plugin is in the early stages of development. It is not recommended to use it for solving real-world problems yet; instead, try it on simple demo projects and suggest improvements. Currently, it is compatible with Kotlin projects only.
The easiest way to try the plugin is to clone the project and run ./gradlew runIde
in the project's root folder. Alternatively, you can execute ./gradlew buildPlugin
and install the resulting plugin into an existing version of IntelliJ by going to Settings -> Pluggins -> Install Plugin from disk...
and specifying the path to the created plugin at build/distributions/FusionTDDPlugin-*.zip
.
But first of all you need to get an authorization token from HuggingFace.
Enter the received token in the plugin settings window. You also need to specify the project package; only the classes of this package will be scanned to collect the generation context.
Further, create a project in the IDE, create a Kotlin class, a target function with an empty body, write tests for it and start generation.
Enjoy and suggest improvements!