dotnet-cqrs/docs/best-practices/testing.md

26 lines
451 B
Markdown

# Testing
Test your CQRS application effectively.
## Best Practices
### ✅ DO
- Unit test handlers
- Integration test endpoints
- Test event replay
- Test projections
- Test failure scenarios
### ❌ DON'T
- Don't skip unit tests
- Don't test only happy path
- Don't skip integration tests
- Don't forget edge cases
## See Also
- [Best Practices Overview](README.md)
- [Testing Strategy](../tutorials/modular-solution/06-testing-strategy.md)