Skip to content

Upgrade xUnit to v3 #942

Upgrade xUnit to v3

Upgrade xUnit to v3 #942

Triggered via pull request January 16, 2025 22:04
Status Success
Total duration 3m 20s
Artifacts 2

ci.yml

on: pull_request
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#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#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#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: 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: 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.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
219 KB
sha256:87919c304d4a71bb5f08978947a54c21091148d5fbb9614c9112b2f79947e524
coverage Expired
24.7 KB
sha256:ffe896a0a30799bb8581e5cc99b4c22c4c35691cb31b0b01e93fb154ed46fc36