An AI-powered testing framework that generates and validates test cases for APIs using Large Language Models and automated execution.
This project explores the use of AI in software testing by automatically generating test cases and validating API endpoints. It combines AI-driven test generation with basic automation to simulate real-world QA workflows.
- 🤖 AI-based test case generation using OpenAI API
- 🔍 Covers valid, invalid, and edge test cases
- 🌐 API testing using Python requests
- ⚙️ Automated validation of endpoints
- 🚀 FastAPI backend for interaction
- Python
- FastAPI
- OpenAI API
- PyTest
- Requests
app/generator.py→ AI test case generationapp/tester.py→ API testing logicapp/main.py→ FastAPI apptests/→ Sample automated tests
- User provides input (API or description)
- AI generates test cases
- System validates API endpoints
- Outputs results
pip install -r requirements.txtuvicorn app.main:app --reloadpytestInput:
/predict API
Output:
- Valid input test
- Invalid input test
- Edge case test
- AI-assisted QA workflows
- API validation
- Automated testing experiments
- Full automation framework
- CI/CD integration
- Advanced reporting
Maitreyee Rane GitHub: https://github.com/MaitreyeeRane LinkedIn: https://www.linkedin.com/in/maitreyee-rane-ba93a22a4