Skip to content

Continue implementing xunit v3 test runner - fix API compatibility

7b40b11
Select commit
Loading
Failed to load commit list.
Closed

Add support for xunit v3 #1429

Continue implementing xunit v3 test runner - fix API compatibility
7b40b11
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet.xharness (Build Windows Windows_NT Debug) failed Oct 18, 2025 in 1m 11s

Build Windows Windows_NT Debug failed

Annotations

Check failure on line 410 in src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.xharness (Build Windows Windows_NT Debug)

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs#L410

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs(410,72): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 1: cannot convert from 'string' to 'System.Reflection.Assembly'

Check failure on line 468 in src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.xharness (Build Windows Windows_NT Debug)

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs#L468

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs(468,17): error CS1503: (NETCORE_ENGINEERING_TELEMETRY=Build) Argument 3: cannot convert from 'System.Collections.Generic.IReadOnlyCollection<string>' to 'System.Collections.Generic.IReadOnlyCollection<Xunit.Sdk.ITestCase>'

Check failure on line 598 in src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.xharness (Build Windows Windows_NT Debug)

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs#L598

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs(598,100): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ITestPassed' does not contain a definition for 'TestCaseDisplayName' and no accessible extension method 'TestCaseDisplayName' accepting a first argument of type 'ITestPassed' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 603 in src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.xharness (Build Windows Windows_NT Debug)

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs#L603

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs(603,35): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ITestPassed' does not contain a definition for 'TestDisplayName' and no accessible extension method 'TestDisplayName' accepting a first argument of type 'ITestPassed' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 612 in src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet.xharness (Build Windows Windows_NT Debug)

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs#L612

src\Microsoft.DotNet.XHarness.TestRunners.Xunit.v3\XUnitTestRunner.cs(612,112): error CS1061: (NETCORE_ENGINEERING_TELEMETRY=Build) 'ITestFailed' does not contain a definition for 'TestCaseDisplayName' and no accessible extension method 'TestCaseDisplayName' accepting a first argument of type 'ITestFailed' could be found (are you missing a using directive or an assembly reference?)