Overview
BuildPulse Flaky Tests is a CI observability platform that helps you find and fix flaky tests. We provide an end-to-end solution to detect flaky tests, give you metrics on productivity and stability, and help with root-cause analysis to fix them.
Your product is only as stable and predictable as your tests.
Product
We provide an end-to-end solution to detect flaky tests, give you metrics on productivity and stability, and track progress over time:
- Flaky test detection and history
- Flaky test impact metrics
- Slack alerts and digests, and Jira and GitHub issue integration
- Code coverage reports
- Test results posted on pull requests
- Test quarantining
- API access
Getting Started
There are 2 steps to enabling BuildPulse for your product.
Exporting a JUnit XML report from your testing framework
Uploading that report from CI, with the BuildPulse GitHub Action or the upload API.
See the Getting Started guide for more info.
What is a flaky test?
A flaky test is a test that exhibits both a passing and a failing result with the same code. Flaky tests usually remain tribal knowledge and are often ignored, until enough of them accumulate. This can create delays in merging code, delays in releases, bugs in production, and a general lack of confidence in the test suite.
Almost every engineering team eventually experiences flaky tests. Martin Fowler sums up the problem nicely:
"[Flaky tests] are a virulent infection that can completely ruin your entire test suite. As a result they need to be dealt with as soon as you can, before your entire deployment pipeline is compromised." - Martin Fowler
How do flaky tests occur?
As your product grows in complexity, so too does testing complexity. This complexity can cause the initial assumptions in a test to break, which makes the test unstable.
Our Approach
BuildPulse flags a test as flaky in two ways. The first is when it observes both a failure and a success for the same code; it tells whether code has changed by comparing the git tree SHA against earlier results. The second is by failure rate: a test whose failure rate over the last 30 days is at or above a threshold you can set, across enough runs and on more than one branch. See Flaky Tests Dashboard for the exact rules.
Security
Uploads contain your test results and metadata such as the git commit, branch and tree SHA. Uploading results does not send your source code.
Our security practices and current compliance status are on the security page. For questions, contact sales@buildpulse.io.