Skip to content

Use test-reporter in GitHub actions to display test results. #255

@TheAngryByrd

Description

@TheAngryByrd

Is your feature request related to a problem? Please describe.

Incorporate https://github.com/dorny/test-reporter to display test results

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

dotnet test --logger:"trx;LogFilePrefix=testResults" LogFilePrefix will make sure to specify the TFM in the results output so you get something like testResults_net6.0_20220406080049.trx instead of messages like WARNING: Overwriting results file: TestResults/test-results.trx for every TargetFramework

Could also try using fsproj/props properties

<PropertyGroup>
  <VSTestLogger>trx</VSTestLogger>
  <VSTestLogFilePrefix>testResults</VSTestLogFilePrefix>
</PropertyGroup>

Twitter Discussion

Example Output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions