Skip to content
P

Publish Unit Test Result Action

GitHub Action to publish unit test results on GitHub

by EnricoMiFree

#2838in Developer Tools
0In stores

Description

Publish Test Results is a GitHub Action that reads unit test result files and publishes them on GitHub. It understands JSON output from Dart…

Highlights

  • Reads JUnit, NUnit, xUnit, TRX, Dart and Mocha results
  • Works on Linux, macOS and Windows runners
  • Self-hosted runner support with and without Docker
  • Failure rules with action_fail and fail_on
  • Unique check names for multiple runs

Ratings & Reviews

No ratings yet

Be the first to rate Publish Unit Test Result Action.

People also visit

T

Test Reporter

Displays test results from popular testing frameworks directly in GitHub

Developer Tools
Launch
A

Action Junit Report

Reports junit test results as GitHub Pull Request Check

Productivity
Launch
T

Tesults

Test automation reporting and failure intelligence

Developer Tools
Launch
T

TestBeats

Publishes test results to Microsoft Teams, Google Chat & Slack

Social
Launch
J

Jacoco Report

Github action that publishes the JaCoCo report as a comment in the Pull Request

Developer Tools
Launch
O

openai/gh-fix-ci

Debug and fix failing GitHub Actions PR checks using log inspection

AI Skills
Get

Publish Unit Test Result Action FAQ

What does this action do?

It reads the unit test result files your tests produce and publishes the results on GitHub, so you can see them in your workflow.

Which test formats work?

The README lists JSON from Dart and Mocha, TRX from MSTest and Visual Studio, and XML from JUnit, NUnit and xUnit.

Why do I see 'Resource not accessible by integration'?

The README says you have to grant additional permissions, or set up support for pull requests from forks and for branches created by Dependabot.

Does a failing test make the action fail?

Not by default. The action_fail setting controls that, and fail_on controls when the published results show a failure.

Can I use it more than once in a workflow?

Yes, but each run needs a unique check_name, otherwise the results overwrite each other.

What are the best Publish Unit Test Result Action alternatives?

Popular alternatives to Publish Unit Test Result Action include Test Reporter, Tesults and Jacoco Report. See all Publish Unit Test Result Action alternatives

Developer Stuff

Badges