AI-powered test failure analysis and fix suggestions
Project description
UnitSauce
AI-powered test fixer for Python projects.
What it does
Analyzes failing tests, identifies bugs in recent code changes, and suggests fixes using Claude.
Install
pip install -r requirements.txt
cp .env.example .env
# Add your Anthropic API key to .env
Usage
python main.py /path/to/your/project
The tool will:
- Run pytest and detect failures
- Analyze git diff to find recent changes
- Ask if you want to fix the code or update the test
- Generate and apply a fix
- Verify the fix works
Requirements
- Python 3.10+
- Anthropic API key
- Project must be a git repository
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
unitsauce-0.1.0.tar.gz
(9.1 kB
view details)
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
unitsauce-0.1.0-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file unitsauce-0.1.0.tar.gz.
File metadata
- Download URL: unitsauce-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff76a4952a2c003330cdb23379e384ded7e016136e8706ed41d97e6aca187bff
|
|
| MD5 |
e455dfea5e174892de66e067299bfc4e
|
|
| BLAKE2b-256 |
c1b1643b05eecfd3563fe08a8ee0379712f58506839b852ebafe7a94b66323b9
|
File details
Details for the file unitsauce-0.1.0-py3-none-any.whl.
File metadata
- Download URL: unitsauce-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cece461e42a2bc1ef29e0266a512c7f8be1510c6ddf32bf0fff3dbab3e14bf8b
|
|
| MD5 |
37337ec5bcec66666b9d9ccad65744bf
|
|
| BLAKE2b-256 |
8f242ece39b2b8566cfee275a738071efbca2aaf7b4db719816bf1defa9ac441
|