nw-test-refactoring-catalog
Installation
SKILL.md
Test Refactoring Catalog
Test Code Smells (Full Detail)
L1 Readability Smells
Obscure Test
- Problem: test name does not reveal business scenario being tested
- Detection: generic names like Test1(), ProcessOrderTest(), or names requiring reading test body to understand
- Solution: rename to Given_When_Then or should_do_expected_thing_when_condition format
Before: public void Test1() { /* ... */ }
After: public void ProcessOrder_PremiumCustomer_AppliesCorrectDiscount() { /* ... */ }