Skip to content

Upgrade xUnit to v3 (#295) #943

Upgrade xUnit to v3 (#295)

Upgrade xUnit to v3 (#295) #943

Triggered via push January 16, 2025 22:07
Status Success
Total duration 3m 22s
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#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#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#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#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
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
219 KB
sha256:194b3952e41311873411299c888c244194af30b792a46cf4e6c35fec3462a3a9
coverage Expired
24.7 KB
sha256:ad53f896b6c4db879601edd8d0982b5538daba71fd5d90526ac208a61140ae3f