# testing > Write comprehensive tests - Author: Daniel - Repository: AgriciDaniel/claude-code-essentials-vs-code - Version: 20260130225743 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/AgriciDaniel/claude-code-essentials-vs-code - Web: https://mule.run/skillshub/@@AgriciDaniel/claude-code-essentials-vs-code~testing:20260130225743 --- --- name: testing description: Write comprehensive tests --- When writing tests: 1. Use descriptive names: "should [behavior] when [condition]" 2. Follow Arrange-Act-Assert (AAA) pattern 3. Test edge cases: null, empty, boundary values 4. Mock external dependencies appropriately 5. Prefer integration tests for critical paths 6. Aim for 80% coverage minimum 7. Use test fixtures for complex data setup 8. Test error scenarios and edge cases 9. Keep tests independent and isolated 10. Use parameterized tests for similar scenarios