Logo

dev-resources.site

for different kinds of informations.

Beautiful .NET Test Reports Using GitHub Actions

Published at
3/27/2024
Categories
dotnet
devops
cicd
github
Author
Sean Killeen
Categories
4 categories in total
dotnet
open
devops
open
cicd
open
github
open
Beautiful .NET Test Reports Using GitHub Actions

I know some folks who would like to move to GitHub Actions from Azure DevOps, but would really miss the “Test View” that Azure DevOps provides. Let’s see if we can work some magic with GitHub Actions to get us close to that within GitHub.

Goals

  • Work entirely within GitHub Actions
  • Show test results within a pull request
  • Show difference in number of tests
  • When tests fail, be able to quickly see which tests failed, and the failure/trace
  • Understand test coverage

Sample Project

I’ve created a sample project that uses these techniques at https://github.com/SeanKilleen/ExampleTestResultsWithGithubActions. Feel free to submit a pull request to see it in action!

Project Structure

Read the rest on SeanKilleen.com!

Featured ones: