managedcode/dotnet-skills/writing-mstest-tests
ALWAYS USE when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for "review" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected/actual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext/lifecycle; timeout/cancellation; OS/CI conditions, retry, clean
Agent skill · version 0.0.0-main.1794330590.g268856b · from managedcode/dotnet-skills
Install
npx yarkr-cli add skill:managedcode/dotnet-skills/writing-mstest-testsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/writing-mstest-tests
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/writing-mstest-testsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:managedcode/dotnet-skills/writing-mstest-testsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.