Skip to content

Upgrade xUnit to v3 #941

Upgrade xUnit to v3

Upgrade xUnit to v3 #941

Triggered via push January 16, 2025 22:04
Status Success
Total duration 2m 48s
Artifacts 2

ci.yml

on: push
Matrix: testOnSupportedDotnetVersions
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 41 warnings
build
Process completed with exit code 2.
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (ubuntu-22.04): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/TestableHttpClient/Utils/StringMatcher.cs#L16
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
build: src/TestableHttpClient/Utils/StringMatcher.cs#L16
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
build: src/TestableHttpClient/Utils/StringMatcher.cs#L16
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build: src/TestableHttpClient/Utils/StringMatcher.cs#L16
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
build: test/TestableHttpClient.Tests/NetFrameworkPollyFill.cs#L9
Remove unused parameter 'cancellationToken'
build: test/TestableHttpClient.Tests/NetFrameworkPollyFill.cs#L9
Remove unused parameter 'cancellationToken'
build: test/TestableHttpClient.IntegrationTests/NetFrameworkPollyFill.cs#L9
Remove unused parameter 'cancellationToken'
build: test/TestableHttpClient.IntegrationTests/NetFrameworkPollyFill.cs#L9
Remove unused parameter 'cancellationToken'
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
build: test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive.
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L42
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
testOnSupportedDotnetVersions (windows-latest): test/TestableHttpClient.IntegrationTests/CustomizeJsonSerialization.cs#L17
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)

Artifacts

Produced during runtime
Name Size Digest
artifacts Expired
218 KB
sha256:07c80bb27d55433030dcc2b39b9cad18c24194833bc5d817326dee0470344f00
coverage Expired
24.7 KB
sha256:86c47a4d512cfbca1210fe81f86f8366ffbc3a8a30676eff74c3c5aa9491d154