AI-powered automated test generation, validation, and repair.
Project description
AutoQA 🚀
AI-powered automated test generation, validation, and repair.
AutoQA is a CLI and workflow engine to automatically create, validate, and execute tests for your codebase—unit, e2e, and manual QA checklists.
✨ Features
✅ Generate unit tests in pytest or jest
✅ Generate e2e tests in Cypress or Playwright
✅ Generate manual QA checklists
✅ Repair failing tests automatically
✅ Slack notifications for approvals and results
✅ Supports monorepos, nested directories, glob filters
✅ Config file support (.autoqa.toml)
🚀 Quickstart
Install:
pip install autoqa
Generate tests:
auto generate \
--project ./my-app \
--output-project ./qa-tests \
--type unit \
--framework pytest
Resume workflows awaiting approval:
auto resume --state pending_state_myfile.json
Repaire a test file:
auto repair-test \
--source-file ./src/button.js \
--test-file ./tests/button.test.js \
--project-root ./ \
--framework jest
⚙️ Example Config File
.autoqa.toml:
framework = "pytest"
output_project = "./qa-tests"
test_type = "unit"
exclude_dirs = ["node_modules", "dist"]
file_glob = "*.py"
📘 CLI Reference
generate
Generate tests automatically for an entire project directory.
Example:
auto generate --project ./my-app --type unit --framework pytest
fix
Automatically repair all tests in a project directory:
auto fix --project ./my-app --type unit --framework jest
repair-test
Repair a single test file iteratively:
auto repair-test \
--source-file ./src/my-module.js \
--test-file ./tests/my-module.test.js \
--project-root ./ \
--framework jest
This command:
- Loads the source code and test file.
- Runs iterative repair cycles until the test passes or max retries are reached.
- Overwrites the test file with repaired content.
- Supports
pytestandjest.
🙌 Contributing
Please see CONTRIBUTING.md.
📝 License
MIT © 2025 Shelton Wilson
📜 License
MIT © 2025 Shelton Wilson
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autoqa-1.0.0.tar.gz.
File metadata
- Download URL: autoqa-1.0.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e55b591d8f255d4a4003602103ebd79eefc576e61779a07ef38b256e5d98f5e
|
|
| MD5 |
6ac81abece1cf908429e56e9027cf095
|
|
| BLAKE2b-256 |
da4f80950c78d0d32cb1eaeacc6f7e2c4741ed69c96f659cbcaf3188cd95d688
|
File details
Details for the file autoqa-1.0.0-py3-none-any.whl.
File metadata
- Download URL: autoqa-1.0.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0d5345f360b0796609e66b0c70efca25e6a7a1cab9d65764e8ca257a8245a6a
|
|
| MD5 |
d7a70a4c4d23b5365727b8af5b1109e5
|
|
| BLAKE2b-256 |
71eb9c4a47adfdc8396bd0ac871b3718511e7ed8c8ce08a990646e3849f01df1
|