An experimental full-stack AI-powered platform designed to analyze repositories and generate contextual software test cases.
The project aims to explore:
- AI-assisted QA workflows
- repository-aware test generation
- developer tooling architecture
- semantic memory systems
- AI + full-stack orchestration
The long-term goal is to build a developer-focused testing workspace capable of understanding repositories and assisting with automated test generation.
The platform architecture currently includes systems for:
- User authentication
- Project workspaces
- GitHub repository import
- ZIP repository upload
- Repository analysis
- AI-assisted test generation
- AI chat assistant
- Export pipelines
- Embedding-based memory workflows
The codebase follows a modular full-stack architecture using:
- React + Vite frontend
- Node.js + Express backend
- MongoDB + Mongoose
- Groq AI integration
This section reflects what has ACTUALLY been tested and verified so far.
Verified:
- user signup
- user login
- JWT authentication flow
- protected routes
- password hashing using bcrypt
- MongoDB persistence
Verified:
- MongoDB server connection
- database creation
- collection creation
- persistent user storage
- document inspection using MongoDB Compass
Verified:
- React frontend communication with Express backend
- API request flow
- CORS configuration
- environment variable integration
Verified:
- project creation
- dashboard rendering
- workspace routing/navigation
These systems exist in the architecture and codebase, but are still under debugging or have only been partially tested.
Partially verified:
- repository import flow exists
- backend repository service exists
- branch handling currently fragile
- validation issues still exist
- external repository ingestion still being tested
Partially verified:
- repository analysis architecture exists
- parsing pipeline exists
- framework detection not fully validated yet
- large-scale repo testing not completed yet
Partially verified:
- AI generation workflow exists
- prompt-based generation architecture exists
- generation quality not deeply evaluated yet
- contextual accuracy still unverified
Partially verified:
- Markdown/PDF/JSON export systems exist
- complete export validation not performed yet
The following systems/features exist in the planned architecture or implementation, but have NOT yet been fully tested or validated.
- embedding retrieval quality
- semantic memory workflows
- AI chat assistant reliability
- repository-aware contextual generation accuracy
- scalability/performance under larger repositories
- edge-case repository parsing
- advanced framework detection
- production deployment readiness
- security hardening
- AI output reliability
- large-scale QA workflows
- React
- Vite
- Axios
- Tailwind CSS
- Zustand
- Node.js
- Express.js
- MongoDB
- Mongoose
- Groq API
- Context-aware prompting
- Repository parsing pipeline
git clone https://github.com/rhll07/ai_test_generator
cd ai-test-generatornpm install
npm install --prefix server
npm install --prefix clientCreate a .env file inside server/
Example:
NODE_ENV=development
PORT=5000
CLIENT_ORIGIN=http://localhost:5173
MONGODB_URI=mongodb://127.0.0.1:27017/ai-test-generator
JWT_SECRET="REPLACE_WITH_YOUR_KEY"
JWT_EXPIRES_IN=7d
GROQ_API_KEY="REPLACE_WITH_YOUR_KEY"
GROQ_BASE_URL=https://api.groq.com/openai/v1
GROQ_MODEL=llama-3.3-70b-versatile
UPLOAD_DIR=uploads
MAX_UPLOAD_MB=25Import MongoDB public key:
curl -fsSL https://pgp.mongodb.com/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmorCreate MongoDB source list:
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | \
sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.listUpdate packages:
sudo apt updateInstall MongoDB:
sudo apt install -y mongodb-orgsudo systemctl start mongodEnable MongoDB on boot:
sudo systemctl enable mongodVerify MongoDB status:
sudo systemctl status mongodDownload: https://downloads.mongodb.com/compass/mongodb-compass_1.49.7_amd64.deb
Install .deb package:
sudo dpkg -i mongodb-compass_1.49.7_amd64.debnpm run devFrontend:
http://localhost:5173Backend:
http://localhost:5000Current priorities include:
- stabilizing GitHub repository ingestion
- improving repository parsing
- validating AI-generated outputs
- improving architecture reliability
- debugging edge cases
- improving developer experience
Contributions, debugging help, testing, and architecture suggestions are welcome.
Especially interested in:
- repository parsing improvements
- AI test quality evaluation
- GitHub ingestion fixes
- frontend UX improvements
- export improvements
- architecture cleanup/refactoring
This is currently an experimental and actively evolving project.
AI-generated outputs should always be reviewed manually before production usage.
Built by Rahul Krishna R