Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buildpulse/buildpulse-example-phpunit
Example PHPUnit project to demonstrate connecting to BuildPulse for flaky test detection
https://github.com/buildpulse/buildpulse-example-phpunit
flake-detection phpunit
Last synced: 27 days ago
JSON representation
Example PHPUnit project to demonstrate connecting to BuildPulse for flaky test detection
- Host: GitHub
- URL: https://github.com/buildpulse/buildpulse-example-phpunit
- Owner: buildpulse
- License: mit
- Created: 2021-04-15T15:47:51.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T14:45:46.000Z (11 months ago)
- Last Synced: 2024-11-07T06:41:39.533Z (3 months ago)
- Topics: flake-detection, phpunit
- Language: PHP
- Homepage: https://buildpulse.io
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BuildPulse Example Project: PHPUnit
This is an example [PHPUnit](https://phpunit.de/) project demonstrating how to send test results to [BuildPulse](https://buildpulse.io) to help you find and [fix flaky tests](https://buildpulse.io/products/flaky-tests).
## Connect PHPUnit to BuildPulse
After starting a [free trial](https://github.com/marketplace/buildpulse/plan/MDIyOk1hcmtldHBsYWNlTGlzdGluZ1BsYW40NzM5#pricing-and-setup), you can add BuildPulse to your project in just a few quick steps:
1. If you haven't already done so, set up PHPUnit to output JUnit XML reports for your test results. [[example][commit-for-xml-reports]]
2. Then, configure your build to send the JUnit XML reports to BuildPulse. [[example][commit-for-buildpulse-integration]]
The [configuration][commit-for-buildpulse-integration] 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.
## Works with the CI you already have
BuildPulse offers integrations for:
- **CircleCI** [[docs](https://circleci.com/developer/orbs/orb/workshop64/buildpulse)]
- **GitHub Actions** [[docs](https://github.com/marketplace/actions/buildpulse)]
- **Semaphore** [[docs](https://github.com/buildpulse/buildpulse-semaphore)]
- **Travis CI** [[docs](https://github.com/buildpulse/buildpulse-travis-ci)]
- Buildkite (available in early access)
- Jenkins (available in early access)Don't see your CI provider? [Get in touch](mailto:[email protected]?body=%3C%3C%20Please%20tell%20us%20what%20CI%20service%20you%27re%20using.%20We%27ll%20follow%20up%20with%20you%20soon%21%20%3E%3E&subject=Please%20add%20support%20for%20this%20CI%20service%20next) 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.**
👉 [Get started at buildpulse.io](https://buildpulse.io?utm_source=github.com&utm_campaign=example-repositories&utm_content=phpunit-text-link)
[commit-for-xml-reports]: https://github.com/buildpulse/buildpulse-example-phpunit/commit/main~1
[commit-for-buildpulse-integration]: https://github.com/buildpulse/buildpulse-example-phpunit/commit/main