Skip to main content

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 pytest and jest.

🙌 Contributing

Please see CONTRIBUTING.md.


📝 License

MIT © 2025 Shelton Wilson


📜 License

MIT © 2025 Shelton Wilson

Metadata

Release files for autoqa 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoqa 1.0.0
File Size Uploaded
autoqa-1.0.0.tar.gz 15.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autoqa 1.0.0
File Interpreter ABI Platform
autoqa-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.3 kB

Release files / autoqa-1.0.0.tar.gz

Download URL autoqa-1.0.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2e55b591d8f255d4a4003602103ebd79eefc576e61779a07ef38b256e5d98f5e
BLAKE2b-256 checksum
How to use checksums
da4f80950c78d0d32cb1eaeacc6f7e2c4741ed69c96f659cbcaf3188cd95d688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / autoqa-1.0.0-py3-none-any.whl

Download URL autoqa-1.0.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0d5345f360b0796609e66b0c70efca25e6a7a1cab9d65764e8ca257a8245a6a
BLAKE2b-256 checksum
How to use checksums
71eb9c4a47adfdc8396bd0ac871b3718511e7ed8c8ce08a990646e3849f01df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page