autovalidate-cli
v1.0.0
Published
AI-powered self-healing test execution engine for API and React validation.
Maintainers
Readme
AutoValidate CLI 🔍
AI-powered self-healing test execution engine that makes your development process smoother by automatically detecting, generating, and fixing tests.
🚀 Overview
AutoValidate is a CLI tool designed to simplify the testing workflow for API and React projects. It intelligently detects project features, generates relevant test cases using professional patterns, executes them, and enters a self-healing loop to fix failures automatically.
✨ Features
- 🧠 Feature Detection: Automatically identifies if your project is an API, React app, or other supported framework.
- 📄 Pro Test Generation: Creates professional test cases in
__tests__folders. - 🛠 Self-Healing Loop: If tests fail, the tool analyzes the error (Missing dependencies, TS config issues, ESM/CJS mismatches) and attempts to repair them automatically.
- 📊 Detailed Reporting: Generates an HTML report of the validation session, showing all repair attempts.
- 🔒 Backup & Restore: Creates backups before making changes, allowing for safe restoration if repairs fail.
📦 Installation
npm install -g autovalidate-cli🛠 Usage
Simply run the command in your project root:
autovalidateThe tool will:
- Load available skills.
- Detect your project type.
- Prompt for test generation.
- Run tests and attempt repairs if they fail.
- Generate a validation report.
🧩 Skills
The tool uses specialized "skills" to handle different validation scenarios. These are located in the skills/ directory and can be extended to support more frameworks.
📄 License
MIT
