一键导入
cabazure-test-migration
Heuristics for migrating xUnit test projects from Atc.Test to Cabazure.Test
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Heuristics for migrating xUnit test projects from Atc.Test to Cabazure.Test
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | cabazure-test-migration |
| description | Heuristics for migrating xUnit test projects from Atc.Test to Cabazure.Test |
| domain | testing |
| confidence | high |
| source | lambert |
Use this when a Cabazure repository migrates tests from Atc.Test to Cabazure.Test. The migration guide lives in the sibling library as MIGRATING.md.
First replace the NuGet package and the global using:
<PackageReference Include="Atc.Test" .../> → <PackageReference Include="Cabazure.Test" .../><Using Include="Atc.Test" /> → <Using Include="Cabazure.Test" />In many repos this is the whole code change if the tests only use fixture/data attributes.
Before trusting a mechanical swap, search for these Atc.Test-specific APIs from the migration guide:
WaitForCallWaitForCallForAnyArgsReceivedCallWithArgumentCompareJsonElementUsingJsonInvokeProtectedMethodAddTimeoutHasPropertiesAutoRegisterJsonElementCustomizationIf none are present, the migration risk is mostly compile-time namespace drift.
Cabazure.Test still resolves theory parameters left to right. Preserve [Frozen] parameters before the SUT or any dependent parameter.
In Cabazure-style libraries, the first regression targets after migration are:
These are the places where fixture or assertion plumbing changes tend to surface indirectly.
基于 SOC 职业分类