BlueRacer.io
GitHub App
BlueRacer.io
GitHub App
Unit tests tend to get slower with time, wasting a lot of developer hours. BlueRacer helps you keep them fast by posting a unit test performance summary on every Pull Request.
Requirements:
- Your test runner needs to be able to export test results to a
junit.xml
file. Most of them can do it, here are a few examples:pytest --junitxml junit.xml
robot --output junit.xml
rspec --format RspecJunitFormatter --out junit.xml
go test -v | go-junit-report > junit.xml
phpunit --log-junit junit.xml
mocha test --reporter mocha-junit-reporter
- Your CI can download & run our bash script for uploading the
junit.xml
file to BlueRacer. It's a oneliner, most CI's can do it:bash <(curl -s https://app.blueracer.io/upload)
Usage:
- Click
Install
button on your right. - Select a repository to give BlueRacer access to.
- Click Save to get the
BLUERACER_TOKEN
repository token. - With the
BLUERACER_TOKEN
token andbash <(curl -s https://app.blueracer.io/upload)
upload command in place, run the CI for the main branch and monitor that the upload script has successfully uploaded the firstjunit.xml
test report file. - From now on, BlueRacer will post a comment on every Pull Request, warning you about potential slow tests.
Developer
BlueRacer.io is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.
Report abuse