Description
Test Reporter is a GitHub Action that displays test results from popular testing frameworks directly in GitHub. It reads test results in XML or JSON format and builds a report as a GitHub check run or as a job summary. Where a test failed, it annotates the code using the message and stack trace captured during the run. It also provides outputs for the final conclusion and the counts of passed, failed and skipped tests, so later steps in a workflow can use them. Supported frameworks include .NET with xUnit, NUnit or MSTest, Dart and Flutter tests, Go, JUnit for Java, Jest and Mocha for JavaScript, pytest and unittest for Python, PHPUnit, RSpec for Ruby, Swift and Unreal Engine automation tests. The README explains a two-workflow setup for public repositories. Pull requests from forks run with a read-only token and cannot create check runs, so the first workflow runs the tests and uploads the results as an artifact, and the second runs on the default branch to create the report. The project is public on GitHub.…
Highlights
- Reports from XML or JSON test results
- Check run and job summary output
- Annotates failing code lines
- Outputs for passed, failed and skipped counts
- Supports many test frameworks
Ratings & Reviews
No ratings yet
Be the first to rate Test Reporter.
People also visit
Test Reporter FAQ
What does Test Reporter do?
It displays test results from your test framework in GitHub as a check run or job summary.
Which formats does it read?
XML or JSON test results.
Which frameworks are supported?
Including .NET, Dart, Flutter, Go, JUnit, Jest, Mocha, pytest, unittest, PHPUnit, RSpec, Swift and Unreal Engine.
Does it work for pull requests from forks?
The README says the simple setup does not work for them, because those runs have a read-only token. It recommends a two-workflow setup instead.
Does it annotate my code?
Yes. Failed tests are annotated on the code where they failed, using the message and stack trace.
What are the best Test Reporter alternatives?
Popular alternatives to Test Reporter include Publish Unit Test Result Action, Tesults and Jacoco Report. See all Test Reporter alternatives









