Skip to content

fix(deps): pair MSTest 3.8.3 and restore test discovery - #49

Closed
dependabot[bot] wants to merge 4 commits into
v12.0Chinesefrom
dependabot/nuget/MSTest.TestFramework-3.8.3
Closed

dependabot[bot] wants to merge 4 commits into
v12.0Chinesefrom
dependabot/nuget/MSTest.TestFramework-3.8.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

按维护者批准关闭。测试类发现问题及历史验证记录保留于 #69 。当前阶段保持教材源码与测试内容。


问题与修复

原PR单独升级TestFramework到3.8.3,却保留Adapter3.1.1,导致TestContextImplementation.DisplayMessage缺少实现。六项检查曾表面成功,但五组均未发现任何测试。现在TestAdapter与TestFramework配对为3.8.3。

新分析器还发现Chapter08的ConsoleListControlTests已有3个[TestMethod],但缺少[TestClass];补上类标记,恢复原有3个测试在各框架下的执行。没有新增、删除或修改测试方法和断言。

最新提交验收完成

远端HEAD b688ad81698cee6d8864b4c3a9faded471af9a9c;六项预期任务全部实际通过,差异及对应报告已审阅。暂不合并,保留人工审查。

  • 对应工作流1、对应工作流2、对应工作流3;均与以上HEAD对应。
  • Windows/Linux/macOS/pt_BR/fr_FR各69个程序集、1945次测试,共9725次;无测试发现错误或无测试可用提示。相较修复基线1936次,每组增加9次,来自3个既有测试×3框架恢复执行。
  • UTF-8检查:1188个跟踪文本通过,24个二进制资产明确排除。
  • 实际SDK8.0.428;运行时.NET8.0.34、7.0.20、6.0.36;macOS Arm64,其余X64。
  • 46项目×3框架=138份SARIF;0error、848warning、446note。artifact13814522850,SHA256 3f479f0e78128a30a98db2688b47de85123a6401ef403a45d00ce18508ddebb2已核验并审阅。相较基线新增103个MSTest分析器提示;缺失类标记的3条提示已修复,其余为既有预期异常写法、断言、条件编译空测试类及清理行为提示,未抑制。
  • 本地Chapter03三个框架各35次(共105次)通过;Chapter08三个框架各25次(共75次)通过。

范围与记录

保留net6.0/net7.0/net8.0、全部现有测试方法、数据行、预期异常、平台条件、中文版已修正源码及教材故意错误示例。没有Ignore、过滤、降低规则或删减测试。
独立修复提交:8a9fe2d0(适配器配套)、b688ad81(既有测试类发现)。之前零测试的绿灯记录保留,不能作为本提交的验收证据。

Roslyn关联修复另见#64;本PR不包含Roslyn升级,两组修复分别完整验证。

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 3.2.0 to 3.8.3.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Changelog](https://github.com/microsoft/testfx/blob/main/docs/Changelog.md)
- [Commits](microsoft/testfx@v.3.2.0...v3.8.3)

---
updated-dependencies:
- dependency-name: MSTest.TestFramework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant