Prefer the terminal? View the CLI quick start.
JAIPilot is an IntelliJ plugin that automatically generates robust, high-coverage Java Unit tests for Java code. It understands method logic, handles mocking, and self-corrects errors — so you don’t have to write tests manually.
Yes. JAIPilot CLI works alongside the IntelliJ plugin. It is
useful for terminal-first workflows, coding agents, and local
verification with commands like jaipilot verify.
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.
No, JAIPilot does not store your code or use it for training. Your class data is processed 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 support@jaipilot.com. We’re here to help.
Install it directly from the JetBrains IntelliJ Marketplace. Then restart IntelliJ to activate the plugin.
Run curl -fsSL https://jaipilot.com/install.sh | sh in your terminal. The install
script lives at jaipilot.com/install.sh and the
CLI source code is available on GitHub.
After installation, sign up for a JAIPilot account. You can top up anytime with usage based credits billing by buying request attempts.
Right-click on any Java class and select "JAIPilot" -> “Generate Tests.” JAIPilot will handle the rest — from context extraction to test generation and verification.
The CLI supports verification and backend-assisted generation
flows. Typical commands are jaipilot verify, jaipilot generate, and jaipilot fix.
JAIPilot extracts the class under test, identifies dependencies, builds a clean context, generates the JUnit test class, 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 retries 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 full context before generating tests.