← Alicia Marianne's projects
Repo

Flaky Test Detector

flaky-test-detector is a Python tool that identifies flaky tests from your CI run history. A test is considered flaky when, on the same commit, it passes in one run and fails in another, with no code changes in between. The tool collects results from local JUnit XML files or GitHub Actions artifacts, groups them by test and by commit, calculates each test's flakiness rate (using the Wilson lower bound at 95% confidence), and produces a ranking of the most unstable tests. Key features: Zero runtime dependencies (standard library only, Python 3.10+) Supports JUnit XML and the GitHub Actions API Reports in JSON, CSV, and Markdown CI-friendly exit codes (0 no flaky tests, 1 flaky tests found, 2 error) Ready-to-use weekly GitHub Actions workflow Optional AI agent (Strands Agents + Gemini) that analyzes error messages and suggests root causes and recommendations It turns a subjective complaint ("that test again...") into a measurable number, helping teams cut unnecessary re-runs, reduce pipeline costs, and rebuild trust in their test suite.

Built withClaudetestautomationdetector

Comments · 0

No comments yet. Tried it? Tell Alicia what worked, what didn't, or what you'd want next.
Sign in to comment

More from members

All projects

See what other members are building and what each project is looking for.