Are there any integration test examples for axon

461 views
Skip to first unread message

erich oliphant

unread,
Aug 3, 2013, 4:44:35 PM8/3/13
to axonfr...@googlegroups.com
Hi, I'm playing with axon and using the fixtures, I've been able to bang out a nice set of unit tests for my aggregates.  Now, I'd like to create some tests that actually write to the configured event store, etc etc.  

Allard Buijze

unread,
Aug 5, 2013, 3:00:03 AM8/5/13
to Axon Framework Users
Hi Erich,

integration testing with Axon isn't any different from integration testing any other application. Simply launch you app and start sending commands at it. You can create a event listener to verify that the expected events are published. The test fixtures aren't meant for integration testing.

Cheers,

Allard


On Sat, Aug 3, 2013 at 10:44 PM, erich oliphant <erich.o...@gmail.com> wrote:
Hi, I'm playing with axon and using the fixtures, I've been able to bang out a nice set of unit tests for my aggregates.  Now, I'd like to create some tests that actually write to the configured event store, etc etc.  

--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages