Skip to content

Commit 9d82d2b

Browse files
committed
Add unit-testing skill
1 parent 9a459ef commit 9d82d2b

2 files changed

Lines changed: 478 additions & 0 deletions

File tree

.github/agents/coder.agent.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,13 @@ public sealed class OrderingServiceTests
696696
}
697697
```
698698

699+
NERVER create unit tests for functions without logic - functions that do not contain if, switch, loops, try/catch, or any other control flow statements.
700+
NEVER create unit tests for these assemblies types:
701+
- `*.Contracts`
702+
- `*.DataModel`
703+
- `*.DbContext`
704+
705+
699706
### 5. Build & Verify (MANDATORY)
700707
**CRITICAL**: These steps are NOT optional - they MUST be performed:
701708

0 commit comments

Comments
 (0)