Find answers to common questions about JAIPilot.
JAIPilot is an AI-powered IntelliJ IDEA plugin that automatically generates JUnit tests for your Java code. It understands your code context, generates comprehensive test cases, runs them, and automatically fixes failures.
JAIPilot offers 40 request attempts (~4 classes worth of test generation) as free credits on signup - no credit card required. You can start generating tests immediately. Once you use your free credits, you can top up with transparent pay-as-you-go pricing.
JAIPilot supports both JUnit 4 and JUnit 5. It can auto-detect which version your project uses or you can manually specify your preference in settings.
JAIPilot requires IntelliJ IDEA 2023.1 or later, including both Community and Ultimate editions.
Currently, JAIPilot is designed specifically for IntelliJ IDEA. Support for other JetBrains IDEs (Android Studio, etc.) may be considered in future releases.
See our detailed Installation Guide. The quickest method:
- Open IntelliJ IDEA
- Go to Settings → Plugins → Marketplace
- Search for "JAIPilot"
- Click Install and restart
Possible reasons:
- Your IntelliJ IDEA version is too old (need 2023.1+)
- Marketplace connection issue - try refreshing
- Use alternative installation: Install from disk
To get started:
- Visit jaipilot.com and sign up (no credit card required)
- You'll receive 40 request attempts (~4 classes) worth of free credits
- Check your email for your license key
- You can also find your license key at jaipilot.com/account
- In IntelliJ, go to Settings → Tools → JAIPilot Plugin
- Paste your license key to activate test generation
Your license key is stored securely in IntelliJ IDEA's built-in credential manager:
- Encrypted at rest
- Never logged or exposed (except for validation)
- Not shared with third parties
- Can be re-entered at Settings → Tools → JAIPilot Plugin
JAIPilot:
- Analyzes your class/method code
- Understands dependencies and logic
- Generates test cases using AI models
- Creates test file in appropriate location
- Runs tests automatically
- Fixes any failures iteratively
Typical generation time:
- Simple classes: < 2 minutes
- Medium complexity: 2-5 minutes
- Complex classes: 5-10 minutes
- Large classes: >10 minutes
JAIPilot automatically detects and fixes failing tests:
- Analyzes the failure
- Regenerates the test
- Runs it again
- Repeats until passing
No manual intervention needed!
Yes! Generated tests are regular Java code:
- Edit them as needed
- Add your own test cases
- Modify assertions
- JAIPilot respects your changes
JAIPilot supports:
- ✅ Basic assertions (assertEquals, assertTrue, etc.)
- ✅ Exception testing (assertThrows, expected exceptions)
- ✅ Parameterized tests
- ✅ Test lifecycle methods (@Before, @BeforeEach, etc.)
- ✅ Mock dependencies (basic mocking)
- ✅ Advanced mocking (Mockito) - coming soon
JAIPilot works with:
- ✅ Maven
- ✅ Gradle (Groovy and Kotlin DSL)
- ✅ Ant (with manual configuration)
- ✅ No build tool (manual classpath)
Yes! JAIPilot can generate tests for Spring Boot applications, including:
- Service classes
- Controllers (basic tests)
- Utility classes
- Repositories (with some limitations)
Currently, JAIPilot is optimized for Java. Kotlin support is planned for a future release.
Common issues:
- License key not activated: Activate your license key in Settings → Tools → JAIPilot Plugin
- No JUnit dependency: Add JUnit to
pom.xmlorbuild.gradle - Compilation errors: Fix errors in source code first
- No credits remaining: Check credits at jaipilot.com/account and top up if needed
- Wrong test directory: Configure in Settings → JAIPilot
Possible causes:
- Missing dependencies: Ensure all project dependencies are resolved
- Package mismatch: Check test package matches source package
- Import issues: IntelliJ may need "Optimize Imports" (Ctrl+Alt+O)
- JUnit version: Verify correct JUnit version in project
Check these:
- Test directory: Must be marked as "Test Sources" (green folder)
- JUnit in classpath: Verify test dependencies
- Test runner: Use IntelliJ's built-in JUnit runner
- Module structure: Ensure tests are in correct module
Solutions:
- Copy full license key: Get it from email or jaipilot.com/account
- Remove extra spaces: Ensure no spaces before/after when pasting
- Check internet connection: JAIPilot requires network access to validate
- Firewall/proxy: Ensure JAIPilot can reach validation servers
- Re-enter license key: Settings → Tools → JAIPilot Plugin
- Contact support: Email support@jaipilot.com if issue persists
Options:
- Check credit balance: Visit jaipilot.com/account
- Free credits used up: You've used your 40 free request attempts
- Top up credits: Purchase more credits with pay-as-you-go billing at your account page
- Contact support: Email support@jaipilot.com for credit issues or inquiries
JAIPilot collects:
- Code snippets for test generation (temporary, not stored)
- Usage metrics (anonymous)
- Error logs (for debugging)
JAIPilot does NOT collect:
- Personal information beyond email
- Full source code files
- API keys or secrets from your code
Yes:
- Code transmitted over encrypted HTTPS
- Code used only for test generation
- Not stored permanently on servers
- Not used for model training
- Not shared with third parties apart from LLM - Google Gemini
See our Security Policy for details.
Yes! JAIPilot is designed for commercial use:
- Your code remains confidential
- Check your company's AI tool policies
- Consider air-gapped environments for highest sensitivity
Do not report security issues publicly.
Instead:
- Email: support@jaipilot.com
- GitHub Security Advisory
- See Security Policy for details
JAIPilot uses a credit-based system:
- 40 request attempts free (~4 classes) on signup - no credit card required
- Pay-as-you-go for additional credits after free tier
- No subscription required
- Transparent pricing - check jaipilot.com/pricing
Currently, JAIPilot uses pay-per-use credits with a generous free tier. Subscription plans may be introduced in the future based on user feedback.
Yes! JAIPilot can be used in commercial projects. Enterprise plans with additional features may be available - contact sales for details.
The JAIPilot plugin itself is licensed under Mozilla Public License 2.0 (MPL 2.0). Generated tests are your code with no licensing restrictions.
Unused credits can be refunded within 30 days of purchase. Contact support with your request.
Absolutely! We welcome feature requests:
- Open a feature request
- Include use case and expected behavior
- Vote on existing feature requests
We welcome contributions! See our Contributing Guide for:
- Bug reports
- Feature suggestions
- Documentation improvements
- Code contributions
Multiple support channels:
- 📚 Documentation
- 💬 GitHub Discussions
- 🐛 Issue Tracker
- 📧 Email support (for account/billing issues)
- Check existing issues
- Use bug report template
- Include:
- IntelliJ IDEA version
- JAIPilot version
- Steps to reproduce
- Expected vs actual behavior
Check our examples directory:
- Simple class testing
- Complex class testing
- Testing with dependencies
- Parameterized tests
Yes! Join our community:
- GitHub Discussions
- JetBrains Marketplace Reviews
- Star the project on GitHub
- Join us Discord
| Aspect | Manual Testing | JAIPilot |
|---|---|---|
| Speed | Hours per class | Seconds per class |
| Coverage | Varies by developer | Comprehensive |
| Edge cases | Often missed | Automatically detected |
| Consistency | Varies | Uniform |
| Maintenance | Manual updates | Quick regeneration |
JAIPilot advantages:
- ✅ AI-powered (understands context)
- ✅ Automatic test fixing
- ✅ One-click integration
- ✅ Meaningful test cases
- ✅ Comprehensive coverage
Last Updated: December 2025