Beautiful .NET Test Reports Using GitHub Actions

Sean Killeen - Mar 31 - - Dev Community

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!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .