Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted/Crashed test run will not fail #401

Open
Falco20019 opened this issue Mar 21, 2024 · 0 comments
Open

Aborted/Crashed test run will not fail #401

Falco20019 opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Falco20019
Copy link

Describe the bug

  • Use GitHub Actions with dorny/test-reporter@v1.8.0
  • fail-on-error is set using dotnet-trx reporter
  • TestRun.ResultSummary.outcome is Failed
  • One TestRun.ResultSummary.RunInfos.RunInfo.outcome is Error because the test host process crashed
  • The test report passes

To Reproduce

Steps to reproduce the behavior:

  1. Have a unit test with error outcome in any RunInfo
  2. Let the trx be tested

Expected behavior

The test should fail noting why it did not work

Screenshots

image
image
image

Additional context

_fv-az1758-372_2024-03-20_10_27_35.zip

@Falco20019 Falco20019 added the bug Something isn't working label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants