Skip to content

Unknown option '--report-spekt-junit' when running with MTP #230

Description

@avandijk-wur

Describe the bug
The --report-spekt-junit option does not seem to be supported when using MTP.

Exit code: 5
  Standard output: Unknown option '--report-spekt-junit'
  Unknown option '--report-spekt-junit-filename'
  Usage MyProject.UnitTests.exe [option providers] [extension option providers].`
  • Test Runner: MTPv2
  • Test Framework: MSTest
  • .NET project version, sdk version: net10.0
  • Command line used (please share the test run command): `dotnet test --no-build -- --report-spekt-junit --report-spekt-junit-filename test-result.xml
    Tests\Adagio.Aurora.Services.UnitTests\bin\Debug\net10.0\Adagio.Aurora.Services.UnitTests.dll (net10.0) Zero tests ran
  • OS: Windows

Expected behavior
A clear and concise description of what you expected to happen.

Other details

Configured global.json:

{
    "msbuild-sdks": {
        "MSTest.Sdk": "4.1.0"
    },
    "test": {
        "runner": "Microsoft.Testing.Platform"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions