Unit Tests in Buddy turn raw test output into live, browsable results. Instead of waiting for the whole suite to finish and then digging through build logs, you get results streamed as the tests run, grouped into sessions, with the failing, flaky and slow tests called out for you.
The setup has two halves. In Buddy you create a test suite in the project settings, which gives you a suite token. In your test runner you add a Buddy reporter (or produce a JUnit XML file and send it with the Buddy CLI), and results start landing in the suite. From there it works the same no matter where the tests ran - a Buddy pipeline, a GitHub Actions workflow, or your own machine.
On top of the results, every session is tied to a commit and branch, so you get full test history, GitHub checks on commits and pull requests, and analytics that show how test performance changes over time. Permissions are inherited from pipelines, so there is nothing extra to configure for your team.
In this section
| Page | What it covers |
|---|---|
| Overview | What Unit Tests in Buddy are and the benefits over reading raw test logs. |
| Setup & Reporters | Create a test suite in the project and configure the reporter for your testing framework. |
| Pipeline Integration | Use the Collect test results option in a build action to report results from a Buddy pipeline. |
| Results & Analytics | Browse sessions, read result summaries, and spot flaky and slow tests. |
| GitHub Integration | Send results from GitHub Actions and enable checks on commits and pull requests. |
| Permissions | Permission levels inherited from pipelines, and notification configuration. |
| Troubleshooting | Common problems - missing results, token and Node.js version issues - and best practices. |
Overview
Learn what Unit Tests in Buddy are and why they're valuable for your development workflow.
Setup & Reporters
Learn how to set up Unit Tests in Buddy and configure reporters for your testing framework.
Pipeline Integration
Learn how to integrate Unit Tests with Buddy pipelines using the Collect tests results feature.
Results & Analytics
Learn how to view test results, identify flaky and slow tests, and analyze test performance.
GitHub Integration
Learn how to integrate Buddy Unit Tests with GitHub Actions and enable commit checks.
Permissions
Learn about permissions for Unit Tests and how to configure notifications.
Troubleshooting
Common troubleshooting issues and best practices for Buddy Unit Tests.