JAIPilot is an IntelliJ plugin that automatically generates robust, high-coverage JUnit tests for Java code using the Google Gemini AI model. It understands method logic, handles mocking, and self-corrects errors — so you don’t have to write tests manually.
JAIPilot is ideal for Java developers who want to avoid repetitive boilerplate test code and achieve high test coverage quickly. It’s especially useful if you want reliable tests without switching context or writing prompts manually.
Unlike Copilot or ChatGPT, which are general-purpose assistants, JAIPilot is purpose-built for Java test generation. It generates complete test classes (not just inline code), mocks dependencies, self-corrects errors, and ensures the output compiles. Copilot often requires manual prompting and validation.
No, JAIPilot does not store your code or use it for training. Your class data is only sent to Google Gemini securely from your machine. Logs (if any) are deleted within 30 days. We do not use or retain user data for any model improvement or analytics.
Reach out to us via the JetBrains plugin support page or email us at culsharecontact@gmail.com. We’re here to help.
Install it directly from the JetBrains IntelliJ Marketplace. Then restart IntelliJ to activate the plugin.
In IntelliJ settings, go to JAIPilot and enter:
src/test/java
)Right-click on any Java class or method and select “Generate Tests.” JAIPilot will handle the rest — from context extraction to test generation and verification.
No. JAIPilot runs fully inside IntelliJ using your Google Gemini API key. There’s no external backend or login required.
JAIPilot Pro is a fully-managed upgrade with zero setup and maximum performance. It includes everything in the free version — and more — designed for serious developers who want speed, scale, and simplicity.
Plan Includes:
The Pro plan is fully managed: no setup, no rate limits, usage-based billing, and smart LLM model selection — just generate tests and go.
JAIPilot Pro is pay-as-you-go. When your credits run out, you can top up anytime — no subscriptions, no auto-renewals.
JAIPilot extracts the class under test, identifies dependencies, builds a clean context, sends a structured prompt to Google Gemini, and compiles the result. If errors occur, it fixes and retries until the output is valid.
JAIPilot produces full JUnit test classes, with mock setup using Mockito, and multiple test methods that match your method logic, branches, and edge cases.
JAIPilot detects compilation issues or test failures, captures the error, and automatically prompts Google Gemini to correct and retry until the test class is fixed.
JAIPilot collects the source of the class under test, public method signatures, and all nested POJO types used as inputs or return values to give Google Gemini full context.