Revolutionize your development workflow with AI-powered code assistance, automating mock tests, suggestions, and unit test generation in a single Python CLI tool.
Are you tired of making small code changes only to have a series of CI tests fail afterward?
Introducing an AI-powered(Chatgpt/gpt4) solution to
✨ Run mock tests before committing
🚀 Get valuable suggestions to improve your code before you commit
🛠 Automatically generate unit tests for your code changes before committing
📝 Generate insightful commit messages automatically based on your code changes
Install the AI Test package using pip:
pip install aidev
After installation, use the aidev command to analyze your code changes:
aidev
You can customize the behavior of the CLI using various options:
aidev --threshold 0.8 --engine gpt-3.5-turbo --max-tokens 400
For more information on available options, run:
aidev --help
AI Tester allows you to configure various settings to better suit your needs. To manage and edit these configurations,
use the aidev-config
CLI command.
The aidev-config
CLI command allows you to view, add, update, or remove configuration settings. The command provides a
user-friendly interface to manage your settings.
To set up and manage the configuration, follow these steps:
aidev-config
command with the desired subcommand, e.g., aidev-config set-api-key <your-api-key>
.aidev-config show-config
to view the current configuration settings.The main CLI tool, aidev
, reads the configuration settings and applies them when generating AI responses, ensuring a
customized experience based on your preferences.
AI Test harnesses the power of OpenAI's GPT-4 to provide real-time assistance for developers. When you run the CLI tool with your code changes, it performs the following steps:
By leveraging AI technology, AI Test streamlines your development process, making it more efficient, accurate, and enjoyable.
We welcome contributions! Feel free to open issues, submit pull requests, or start discussions on improving AI Test.
This project is licensed under the MIT License.