writing-mstest-tests Skill
Write new MSTest unit tests and fix existing MSTest code using MSTest 3.x/4.x modern APIs and best practices. USE FOR: write or create MSTest unit tests, fix or modernize MSTest assertions, better MSTest assertion than Assert.IsTrue, replace hard cast with MSTest type assertion, MSTest assertion APIs (IsInstanceOfType, Published by microsoft in testfx.
What is writing-mstest-tests Skill?
Write new MSTest unit tests and fix existing MSTest code using MSTest 3.x/4.x modern APIs and best practices. USE FOR: write or create MSTest unit tests, fix or modernize MSTest assertions, better MSTest assertion than Assert.IsTrue, replace hard cast with MSTest type assertion, MSTest assertion APIs (IsInstanceOfType, Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Security review
- Data analysis
- Writing
- Testing use cases
Technical details
- Install or run with Copy skill directory
When to use writing-mstest-tests Skill
- Use it for testing.
- Use it for security review.
- Use it for data analysis.
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/testfx
- Skill file: .agents/skills/writing-mstest-tests/SKILL.md
What it does
Write new MSTest unit tests and fix existing MSTest code using MSTest 3.x/4.x modern APIs and best practices. USE FOR: write or create MSTest unit tests, fix or modernize MSTest assertions, better MSTest assertion than Assert.IsTrue, replace hard cast with MSTest type assertion, MSTest assertion APIs (IsInstanceOfType,
Skill instructions
Writing MSTest Tests Help users write effective, modern unit tests with MSTest 3.x/4.x using current APIs and best practices. When to Use - User wants to write new MSTest unit tests - User wants to improve or modernize existing MSTest tests by implementing concrete fixes - User asks about MSTest assertion APIs, data-driven patterns, or test lifecycle - User asks to replace Assert.IsTrue with more specific assertions (collections, nulls, types, comparisons) - User asks to replace hard casts with type-checking assertions in tests - User needs help fixing a specific MSTest test bug or failing assertion - User asks to fix swapped Assert.AreEqual argument order (expected first, actual second) - User asks to convert DynamicData from IEnumerable<object[] to ValueTuple-based data When Not to Use - User needs a test quality audit, anti-pattern detection, or flaky-test investigation (use test-anti-patterns) - User needs to run or execute tests (use the run-tests skill) - User needs to upgrade fr
Explore related resources
Frequently asked questions
What is writing-mstest-tests?
writing-mstest-tests is a open-source AI agent skill with Copy skill directory. Write new MSTest unit tests and fix existing MSTest code using MSTest 3.x/4.x modern APIs and best practices.
Who is writing-mstest-tests best for?
writing-mstest-tests is best for reusing agent instructions, scripts, and references, testing workflows, security review workflows, data analysis workflows.
How do I install writing-mstest-tests?
Install or run writing-mstest-tests using Copy skill directory. Check writing-mstest-tests for the latest setup command.
Is writing-mstest-tests actively maintained?
writing-mstest-tests may need a closer maintenance check before production use.
Auto-fetched from GitHub.