unit-testing
Installation
SKILL.md
Unit Testing Guidelines
General Principles
1. Test Independence
- Each test must be independent and self-contained
- Tests must not rely on execution order
- Use local variables within test methods instead of shared instance variables when possible
2. Clear Test Names
Follow the pattern: methodName_scenario_expectedBehavior
Examples: tableExists_positive_tableIsPresent, deleteTimer_negative_timerDescriptorIdIsNull
3. Test Organization
Structure every test with: Arrange → Act → Assert