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

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

See Also