This is an example PHPUnit project demonstrating how to send test results to BuildPulse to help you find and fix flaky tests.
After starting a free trial, you can add BuildPulse to your project in just a few quick steps:
-
If you haven't already done so, set up PHPUnit to output JUnit XML reports for your test results. [example]
-
Then, configure your build to send the JUnit XML reports to BuildPulse. [example]
The configuration relies on your BuildPulse account ID, repository ID, key, and secret. You'll see this information when viewing your repository on buildpulse.io.
This example uses GitHub Actions CI, but you can integrate just as easily with other CI providers as described below.
BuildPulse offers integrations for:
- CircleCI [docs]
- GitHub Actions [docs]
- Semaphore [docs]
- Travis CI [docs]
- Buildkite (available in early access)
- Jenkins (available in early access)
Don't see your CI provider? Get in touch and we may be able to quickly add support for it.
Automatically detect flaky tests. Focus on the top offenders to quickly improve your builds. Save developer time and frustration. Regain trust in your test suite.