Why ai-test-failure-analyzer
Manual test failure investigation takes 30-60 minutes: open the test output, grep through
logs, dig through git history, check recent deploys, ask Slack. And you can still point at
the wrong thing.
This tool does it automatically in under a second:
- Parses the test result file to extract failing tests with HTTP details
- Scans git history for high-risk commits (endpoint renames, migrations, auth changes)
- Scans application logs for ERROR/FATAL lines
- Reads config files (.env, docker-compose)
- Cross-correlates all evidence into clusters
- Forms ranked, evidence-cited hypotheses with
file:line precision
- Blocks fixture noise and "intentional failure" comments via a Tier-1 evidence gate
How it's different
| ai-test-failure-analyzer | Manual triage | Generic LLM |
|---|
| Evidence source | Real git/logs/config | Human memory | Training data |
| Fixture noise | Blocked by Tier-1 gate | No protection | No protection |
file:line precision | Yes | Sometimes | No |
| Works without source code | Yes (API-only mode) | Yes | Yes |
| Repeatable | Yes | No | No |
| CI-integrated | Yes | No | No |
Supported frameworks
30 frameworks across all major ecosystems:
| Ecosystem | Framework | Format | Command |
|---|
| JS/TS | Playwright | JSON | playwright test --reporter=json |
| Jest | JSON | jest --json --outputFile=results.json |
| Vitest | JSON | vitest run --reporter=json |
| Cypress | Mochawesome JSON | cypress run --reporter mochawesome |
| WebdriverIO | JSON | wdio run wdio.conf.js |
| Mocha | JSON | mocha --reporter json |
| Detox | JSON | detox test --reporter json |
| Ava | JSON / TAP | ava --tap | tap-json |
| Python | pytest | JUnit XML | pytest --junit-xml=results.xml |
| API/Perf | Newman (Postman) | JSON | newman run col.json -r json |
| k6 | Summary JSON | k6 run --summary-export=results.json |
| Artillery | JSON | artillery run --output results.json |
| Gatling | TSV log | standard simulation log |
| Pact | JSON | standard verification output |
| JVM | TestNG | XML | testng-results.xml |
| JUnit-compatible | XML | Karate, REST Assured, Insomnia CLI |
| Ruby | RSpec | JSON | rspec --format json --out results.json |
| Cucumber | JSON | cucumber --format json --out results.json |
| Go | Go test | JSON | go test ./... -json > results.json |
| C/C++ | Catch2 | XML | test_runner -r xml -o results.xml |
| GoogleTest | XML | test_runner --gtest_output=xml:results.xml |
| PHP | PHPUnit | XML | phpunit --log-junit results.xml |
| .NET | NUnit | XML | standard NUnit output |
| xUnit | XML | standard xUnit output |
| MSTest | TRX XML | standard MSTest output |
| Other | Robot Framework | XML | robot --output output.xml |
| TAP | text | node:test, tape, prove |
| Allure | JSON | allure generate results directory |
| CTRF | JSON | any CTRF reporter |
| SARIF | JSON | any SARIF scanner |
Install