Skip to content

Migrate from vstest to Microsoft.Testing.Platform #41

Open
@alexaka1

Description

@alexaka1

Version

2.4.1

Platform

ubuntu-latest GH runner

Steps to reproduce

  1. Setup an XUnit V3 project with Microsoft.Testing.Platform
  2. Run dotnet test --logger GitHubActions -- --report-xunit-trx
  3. No output is generated on GitHub, but a trx is created

Details

With the new Microsoft.Testing.Platform the --logger parameter is no longer parsed by dotnet test at all. Unfortunately there does not seem to be a migration path. The logging should be handled by the test framework according to the docs. Am I missing something here? Or is there a way to still use this logger with the new test platform? For xunit specifically, these are the parameters it supports via the new framework.

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the package
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions