Unit Tests w Pipeline

After creating a test suite, you can use it in a pipeline.

Pipeline configuration

  1. Add a Build action (e.g., Node) to your pipeline
  2. In the commands section, on the right side, you'll find the Collect test results button
  3. Click Collect test results to open the configuration.

Image loading...Pipeline Action - Collect Tests Results

Framework and suite selection

In the popup:

  • Select the created Suite from the dropdown list
  • Choose the Framework instruction (e.g., Jest, Playwright, Cypress)
  • Follow the provided instructions

Image loading...Collect Tests Results Configuration

Finalizing cofiguration

  1. Click Set configuration - the selected Suite will appear in the Collect test results button.
  2. Add the commands in the commands section according to the instructions displayed in the popup.

Image loading...Pipeline Action with Configured Test Suite

After running the pipeline, the tests will be executed, and the results will be visible in the Unit Tests section in the project sidebar, where you can select your Suite.

Image loading...Unit Tests Navigation Sidebar

Hint
You don’t need to manually set the BUDDY_UT_TOKEN environment variable in the pipeline — Buddy automatically uses the token assigned to the selected Suite.

You can find detailed information about viewing test results in the Results & Analytics section.

Last modified on Dec 5, 2025