Test case for QueryHandlers

Sorry if it’s a silly question!!!
I’m just wondering is there any test fixtures or something of similar kind in Axon test framework to test a queryhandler?
I couldn’t find any doco or any post that helps me with that. Any link or reference would definitely help.


Hi Mani,

Not a silly question at all, a very worthwhile one actually if you’d ask me!

At the moment there is not Test Fixture set up for the Query Model with it’s Event and Query handlers.
We envision this to be a nice addition to the framework though and hence we have an open issue for it.

At the moment I can sadly only disappoint you by saying that you will have to build this yourself.