When to Apply: Reference when using Microsoft's native MSTest for .NET projects, using [DataRow] for parameterized tests, or preferring the built-in Visual Studio test framework. Triggers on "MSTest", "[TestMethod]", "[TestClass]", "Assert.AreEqual".
Playbook Deep Dive (10 sections): §1 Project Setup & Configuration · §2 Test Patterns — TestMethod & DataTestMethod · §3 FluentAssertions Integration · §4 Assembly & Class Initialize · §5 Integration Testing with WebApplicationFactory · §6 Test Data Generation with Bogus · §7 TestContext & Logging · §8 CI/CD Integration · §9 Debugging Table · §10 Best Practices
The agent loads from 2 on-demand reference files (advanced-patterns.md, playbook.md) containing detailed implementation guides, cloud integration patterns, debugging tables, and language-specific best practices.