ai-tester
v1.0.0
Published
AI-powered tool for automated generation of unit tests in TypeScript projects.
Downloads
4
Maintainers
Readme
ai-tester
Introduction
ai-tester
is an innovative AI-powered tool designed to automatically write unit tests for your software projects. Leveraging advanced AI algorithms, ai-tester
simplifies the testing process by generating relevant test suites for both frontend and backend components of your application. This tool aims to enhance development efficiency, reduce manual effort, and improve the overall quality of your software.
Features
- Automated generation of unit tests for TypeScript projects.
- Support for both frontend and backend components.
- Integration with OpenAI services for intelligent test creation.
- Customizable test commands for different project directories.
Installation
To install ai-tester
, you need to have Node.js and npm (Node Package Manager) installed on your system. You can then install the tool using npm:
npm install -g ai-tester
Usage
After installation, you can run ai-tester in your project directory:
cd path/to/your/project
ai-tester
Follow the interactive prompts to specify the directories for your frontend and backend code. ai-tester will then scan these directories, identify TypeScript files, and automatically generate unit tests using Jest.
Configuration
Contributing
Contributions to ai-tester are welcome. Please follow these steps to contribute:
Fork the repository. Create a new branch for your feature (git checkout -b feature/AmazingFeature). Commit your changes (git commit -m 'Add some AmazingFeature'). Push to the branch (git push origin feature/AmazingFeature). Open a pull request.
License
Distributed under the MIT License. See LICENSE file for more information.
Acknowledgements
- OpenAI API
- TypeScript
- Jest