reference-guide icon indicating copy to clipboard operation
reference-guide copied to clipboard

How to test the Query Model

Open janesser opened this issue 5 years ago • 2 comments

The guide demonstrates how easy it is to test aggregates and sagas, i.e. https://docs.axoniq.io/reference-guide/implementing-domain-logic/command-handling/testing and https://docs.axoniq.io/reference-guide/implementing-domain-logic/complex-business-transactions/testing.

It would be great to show ways how to test projections.

There is no evident way to achieve that, despite IntegrationTests starting major portions of the spring-context, especially some entity manager.

Ideally unittesting over projections would be supported.

janesser avatar Mar 04 '19 18:03 janesser