451 B
451 B
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