https://github.com/sunnydaydev/fusion-tdd-plugin
A plugin designed for generating product code based on tests written for it.
https://github.com/sunnydaydev/fusion-tdd-plugin
idea-plugin kotlin starcoder
Last synced: 9 days ago
JSON representation
A plugin designed for generating product code based on tests written for it.
- Host: GitHub
- URL: https://github.com/sunnydaydev/fusion-tdd-plugin
- Owner: SunnyDayDev
- Created: 2023-10-27T11:49:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T04:21:19.000Z (over 1 year ago)
- Last Synced: 2025-03-26T03:51:21.269Z (11 months ago)
- Topics: idea-plugin, kotlin, starcoder
- Language: Kotlin
- Homepage:
- Size: 1.62 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://ci.sunnyday.dev/buildConfiguration/FusionTDD_Test/lastFinished?branch=%3Cdefault%3E)
[](https://ci.sunnyday.dev/buildConfiguration/FusionTDD_Test/lastFinished?buildTab=tests&branch=%3Cdefault%3E)

[](https://github.com/SunnyDayDev/fusion-tdd-plugin/blob/main/README.md)
[](https://github.com/SunnyDayDev/fusion-tdd-plugin/blob/main/docs/README.ru.md)
### What is it
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.
### Project status
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**.
### How to use
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](https://huggingface.co/settings/tokens).
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!