Skip to content

Update dev and test packages, including xUnit v3 4.0 and Aspire 13.6 - #10553

Merged
glen-84 merged 1 commit into
mainfrom
gai/update-dev-and-test-packages
Oct 15, 2026
Merged

glen-84 merged 1 commit into
mainfrom
gai/update-dev-and-test-packages

Conversation

@glen-84

@glen-84 glen-84 commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Dev and test packages move to their newest releases that are at least a week old: Testcontainers 4.15, Moq 4.21, Roslynator 5.0.1, the ASP.NET Core test packages, Microsoft.Data.SqlClient 7.1.1, CliWrap 3.10.5, and Microsoft.Extensions.TimeProvider.Testing 10.10. The k6 benchmark and the Mocha examples move to Aspire 13.6.1 (AppHost SDK included), OpenTelemetry 1.19, Microsoft.Extensions.Http.Resilience and ServiceDiscovery 10.10, and ChilliCream.Nitro* 16.6.8. Packages that reach consumers are unchanged.
  • Tests run on xUnit v3 4.0.1 and Microsoft.Testing.Platform v2 (xunit.v3.mtp-v2 4.0.1, TrxReport 2.5.1, CodeCoverage 18.8.0). The test props follow the xUnit v3 4.0.1 template default, without UseMicrosoftTestingPlatformRunner: dotnet test takes the same options as before, and dotnet run on a test project takes xUnit's own (-class, -method). CookieCrumble.Xunit3 keeps its xUnit v3 3.2.2 floor through VersionOverride, and CookieCrumble.Tests stays on xUnit v3 3.2.2, so CookieCrumble is still tested on what it ships against. CodeCoverage stops at 18.8.0 because later versions need System.IO.Pipelines 10 on net8.0, which conflicts with the direct reference in the Fusion packaging tests.
  • The four AppHosts opt into the Aspire CLI bundle (AspireUseCliBundle), which Aspire recommends and which clears ASPIRE010, and the aspire.config.json files the CLI writes are committed.

Test plan

  • src/All.slnx restored with --force-evaluate and built for all target frameworks: no errors and no new warnings, so Roslynator 5 and xunit.analyzers 2.1 report nothing new.
  • Mocha.slnx, the Demo example (also as the net10.0-only build with DOTNET_LOCAL_DEV_SINGLE_TARGET_FRAMEWORK=1), and the AzureServiceBusTransport AppHost build. The AppHost needs -p:EnforceCodeStyleInBuild=false, because of IDE0005 and IDE1006 errors in its services that already exist on main.
  • All 137 test projects ran on net11.0. Every test passes, with the Nitro CLI suite run in an invariant culture. One Fusion diagnostics snapshot test failed once under parallel load and passed on rerun.
  • dotnet test --filter-class and --filter-method work with the new test props.
  • The four AppHosts start through the Aspire CLI with all resources running.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Resolve the CookieCrumble xUnit version mismatch and update the k6 benchmark dependency overrides.

2 open findings
What changed in this PR

Updates development/test dependencies, migrates tests to xUnit 4 with MTP v2, and upgrades Aspire examples and benchmarks.

Changes:

  • Refreshes testing, tooling, analyzer, database, and container packages.
  • Updates Aspire AppHosts to 13.6.1 with CLI bundle configuration.
  • Preserves CookieCrumble’s xUnit 3 package floor.
File Reviewed changes
src/​StrawberryShake/​Tooling/​test/​Directory.Test.props Migrates test runner packages.
src/​StrawberryShake/​CodeGeneration/​test/​Directory.Test.props Migrates test runner packages.
src/​StrawberryShake/​Client/​test/​Directory.Test.props Migrates test runner packages.
src/​Nitro/​Common/​test/​Directory.Test.props Migrates test runner packages.
src/​Nitro/​CommandLine/​test/​Directory.Test.props Migrates test runner packages.
src/​Mocha/​test/​Directory.Test.props Migrates test runner packages.
src/​Mocha/​examples/​PostgresTransport/​PostgresTransport.AppHost/​PostgresTransport.AppHost.csproj Updates Aspire SDK and enables the CLI bundle.
src/​Mocha/​examples/​PostgresTransport/​Directory.Packages.props Updates Aspire and observability packages.
src/​Mocha/​examples/​PostgresTransport/​aspire.config.json Adds Aspire CLI configuration.
src/​Mocha/​examples/​Demo/​Directory.Packages.props Updates Aspire and supporting packages.
src/​Mocha/​examples/​Demo/​Demo.AppHost/​Demo.AppHost.csproj Updates Aspire SDK and enables the CLI bundle.
src/​Mocha/​examples/​Demo/​Demo.AppHost/​aspire.config.json Adds Aspire CLI configuration.
src/​Mocha/​examples/​AzureServiceBusTransport/​Directory.Packages.props Updates Aspire, Nitro, and observability packages.
src/​Mocha/​examples/​AzureServiceBusTransport/​AzureServiceBusTransport.AppHost/​AzureServiceBusTransport.AppHost.csproj Updates Aspire SDK and enables the CLI bundle.
src/​Mocha/​examples/​AzureServiceBusTransport/​aspire.config.json Normalizes Aspire CLI configuration.
src/​Mocha/​benchmarks/​Directory.Packages.props Updates benchmark analyzers.
src/​HotChocolate/​Utilities/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Spatial/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Raven/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Primitives/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​PersistedOperations/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Mutable/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​MongoDb/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Marten/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Language/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Json/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Fusion/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Diagnostics/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Data/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​CostAnalysis/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Core/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Caching/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​AzureFunctions/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​AspNetCore/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​AspNetCore/​benchmarks/​k6/​Catalog.AppHost/​eShop.Catalog.AppHost.csproj Updates Aspire SDK and enables the CLI bundle. Moderate finding (2 votes): referenced Catalog.ServiceDefaults overrides still pin older resilience, service-discovery, and OpenTelemetry packages.
src/​HotChocolate/​AspNetCore/​benchmarks/​k6/​Catalog.AppHost/​aspire.config.json Adds Aspire CLI configuration.
src/​HotChocolate/​ApolloFederation/​test/​Directory.Test.props Migrates test runner packages.
src/​HotChocolate/​Adapters/​test/​Directory.Test.props Migrates test runner packages.
src/​GreenDonut/​test/​Directory.Test.props Migrates test runner packages.
src/​Directory.Packages.props Updates central dependency versions. Moderate finding (1 vote): explicit k6 Catalog.ServiceDefaults overrides prevent the intended package updates.
src/​CookieCrumble/​test/​CookieCrumble.Tests/​CookieCrumble.Tests.csproj Keeps CookieCrumble tests on xUnit 3.2.2.
src/​CookieCrumble/​src/​CookieCrumble.Xunit3/​CookieCrumble.Xunit3.csproj Keeps adapter references on xUnit 3.2.2. Critical finding (1 vote): the adapter is compiled against xUnit 3 while consumers use the xUnit 4 runner.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@glen-84
glen-84 force-pushed the gai/update-dev-and-test-packages branch from c5cca44 to 7984516 Compare October 15, 2026 18:41
@glen-84 glen-84 changed the title Update dev and test packages, including xunit 4 and Aspire 13.6 Update dev and test packages, including xUnit v3 4.0 and Aspire 13.6 Oct 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Nitro CLI E2E snapshots: no flow recordings changed vs main.

@glen-84
glen-84 merged commit 598d734 into main Oct 15, 2026
160 checks passed
@glen-84
glen-84 deleted the gai/update-dev-and-test-packages branch October 15, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants