测试
Csharp Red Test Author
write exactly one meaningful failing test for a c# or .net codebase based on a requirement, acceptance criterion, bug report, or existing code analysis. use when the task is to start the red step of tdd, prove that a feature does not yet exist, reproduce a bug with a test, or choose the smallest next failing behavior. keep tests concise, readable, and specialized; create helpers only when they reduce setup noise; never fake failure with unconditional assertions; never change production code; and hand off execution to dotnet-test or dotnet-test-mtp. do not use for implementing the fix, broad refactors, or writing multiple new tests at once.