chore(deps): update test tooling packages

未关闭
#590 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
技术栈
csharp, docker, github-actions
领域
devops, testing

调研方向

Update the package versions and TestContainersVersion in the root Directory.Packages.props, first verifying each target on NuGet. Read the dotnet test step in .github/workflows/build-library.yml to confirm how coverage is collected, then run restore, build, and tests with Docker running. Done when local and fork CI succeed and coverage reports appear in TestResults/.

由索引模型根据 Issue 内容生成。

描述

dependencies Infrastructure

Part 4 of the outdated-package sweep (dotnet-outdated 4.8.1, 2026-11-05). Minor version updates for test tooling only. No shipped package changes.

Scope (this PR only)

Root Directory.Packages.props:

Package Current Target Notes
Microsoft.NET.Test.Sdk 18.6.0 18.11.0
AwesomeAssertions 9.4.0 9.6.0 Check release notes for new analyzer warnings (build treats code style as errors via EnforceCodeStyleInBuild).
coverlet.collector 10.0.1 10.1.0 Keep in lockstep with coverlet.msbuild.
coverlet.msbuild 10.0.1 10.1.0
<TestContainersVersion> (TestContainers.MongoDb / MsSql / PostgreSql) 4.12.0 4.16.0 Single property drives all three. Requires Docker locally.
XUnit.Combinatorial 2.0.24 2.1.43 Only needs xunit.v3.extensibility.core >= 1.0.0, so it works on xunit.v3 3.x and 4.x. Keep the existing explanatory comment accurate.

Verify versions on NuGet first (https://api.nuget.org/v3-flatcontainer/<lowercase-id>/index.json).

Out of scope: xunit.v3*, xunit.runner.visualstudio (separate xUnit 4 issue), NSubstitute (separate issue), System.Linq.Async and Microsoft.AspNetCore.Mvc.Testing (covered by the patch PR).

Steps

  1. Edit props.
  2. dotnet restore && dotnet build && dotnet test (Docker running). Confirm coverage still produces TestResults/ output as the CI workflow expects (see the dotnet test step in .github/workflows/build-library.yml: it uses coverlet / XPlat Code Coverage).
  3. Dispatch build-library.yml on the fork with --ref <branch>; confirm the test summary and coverage steps succeed.

Acceptance criteria

  • Packages at target versions; local and CI green; coverage reports still generated.
  • PR title: chore(deps): update test tooling packages.
主要语言
C#
星标
184
派生
48
平均合并
21 分钟
30 天内合并 PR
7

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommunityToolkit/Datasync 的其他 Issue

查看 CommunityToolkit/Datasync 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。