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.xmlfile. Most of them can do it, here are a few examples:pytest --junitxml junit.xmlrobot --output junit.xmlrspec --format RspecJunitFormatter --out junit.xmlgo test -v | go-junit-report > junit.xmlphpunit --log-junit junit.xmlmocha test --reporter mocha-junit-reporter
- Your CI can download & run our bash script for uploading the
junit.xmlfile to BlueRacer. It's a oneliner, most CI's can do it:bash <(curl -s https://app.blueracer.io/upload)
Usage:
- Click
Installbutton on your right. - Select a repository to give BlueRacer access to.
- Click Save to get the
BLUERACER_TOKENrepository token. - With the
BLUERACER_TOKENtoken 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.xmltest 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