legacy-reviewable-unit-fixtures
Make legacy NUnit fixtures reviewer-proof by asserting transformed inputs at the seam and capturing call arguments inside inline stubs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Make legacy NUnit fixtures reviewer-proof by asserting transformed inputs at the seam and capturing call arguments inside inline stubs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Squad branching model: main-only workflow with feature branches
{what this skill teaches agents}
Wire legacy .NET Framework service hosts through Enterprise Library-flavored appSettings so Unity, service location, exception policies, logging, and database aliases all hang off one configuration seam.
Build internal order-management Web Forms pages with ObjectDataSource, GridView, DetailsView, and ViewState-heavy filter handling.
Build a believable mid-2000s .NET data layer around connection catalogs, stored-procedure wrappers, DataSets, and repository facades.
Anchor store-ops workbench screens in separate StoreOps tables for order state, status snapshots, workforce alerts, and zone bulletins, with dispatch tickets linked back to orders.
| name | legacy-reviewable-unit-fixtures |
| description | Make legacy NUnit fixtures reviewer-proof by asserting transformed inputs at the seam and capturing call arguments inside inline stubs. |
| domain | testing |
| confidence | high |
| source | earned |
Use this when adding or tightening .NET Framework NUnit fixtures around legacy services that normalize inputs or call repository seams with fixed arguments. It fits this repo because many tests use private in-file stubs instead of a mocking framework.
weeksBack on the stub and assert them directly.src\before\Fabrikam.EnterprisePizza.Tests.Unit\Services\StoreOperationsWorkbenchServiceFixture.cssrc\before\Fabrikam.EnterprisePizza.Tests.Unit\Services\WorkforceReportingServiceFixture.cs