{"repo":"bibipkins/dotnet-test-reporter","free":true,"listed":false,"github":"https://github.com/bibipkins/dotnet-test-reporter","clone":"git clone https://github.com/bibipkins/dotnet-test-reporter.git","description":"A GitHub action to parse test results and post the summary as a PR comment","language":"TypeScript","stars":27,"topics":["coverage","github-actions","reporting","testing"],"license":"MIT","category":"dev-tools","readme_excerpt":"Dotnet Test Reporter A GitHub action to parse test & coverage results and post them as a PR comment. - The action can process dotnet test results (a single or multiple .trx files), if there are any failing tests the action will fail. This allows integrating the action into your CI pipeline to short circuit and prevent further build/deploy operations as well as merging the code that caused tests to fail. - Optionally, test coverage can also be provided (a single opencover or cobertura .xml file) as well as a minimum coverage percentage threshold. If the threshold is provided and the coverage is not sufficient the action will also fail. - The action generates a workflow summary - a more detailed overview of processed tests and test coverage. For your convenience you can see the summary by following the link in the comment. - The action allows many configurations to suit your needs, please visit the Inputs and Examples sections. Comment example Summary - test results example Summary - coverage results example [!TIP] Despite this action was created specifically for dotnet you can use it with other languages and frameworks as long as you can generate .trx files. For example, your project can be a C#/dotnet backend with a TS/react frontend, in that case you would use the action twice. So if the frontend uses jest to run your tests, you can do this: - install jest-trx-results-processor package to generate .trx test result files - add cobertura to coverageReporters array and set cove","default_branch":null,"files":null,"tree":[],"storefront":"/r/bibipkins","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bibipkins/dotnet-test-reporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}