Skip to content

No/empty TRX file generated from dotnet test #3814

@bdukes

Description

@bdukes

Describe the bug

There are no TRX result files generated when using dotnet test, though there are with dotnet vstest.

Steps To Reproduce

  1. Pull dotnet-test-trx branch of bdukes/mstest-demo
  2. Run dotnet clean to ensure a clean environment
  3. Run dotnet test --logger trx --results-directory dotnet-test-results
  4. Run dotnet vstest **/*.Tests.dll /Logger:trx /ResultsDirectory:dotnet-vstest-results

Expected behavior

Both dotnet-test-results and dotnet-vstest-results folders are created with a .trx file with details of the test
run.

Actual behavior

Only dotnet-vstest-results is created with a .trx file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions