Domain testing examples using joliver commondomain / eventstore

I am looking for good domain testing examples using JOlivers CommonDomain and EventStore

I watched a video of young people and it has a nice simple abstract root test collector.

is there anything similar that can be used with these libs?

+7
source share
4 answers

Edit: due to immaturity and forced inheritance in CommonDomain, Documently / develop now translates its own simple EventRouter

Yes, I have a sample here: https://github.com/haf/Documently , which shows how you can use it together, and there are tests there.

Basically, this is what CommonDomain and EventStore use together with the RavenDB database.

This is not an article, so I do not include any significant parts of it. This is a sample project that the questioner asks about. I don’t know if the admins are stupid enough to believe the answer “I have no samples” - this is the true answer, but if they want to declare their authority, then why don’t they delete the answer that was chosen as the “answer” questioner instead of removing real and true answers.

+3
source

I just clicked on NEventStoreExample with the code that I collected in different places ( https://stackoverflow.com/a/165385/289 , Documently , Greg Young skillcast ).

This is a very simple implementation of NEventStore that uses CommonDomain to restore aggregate state and the EventSpecification base test class to verify aggregate behavior.

+2
source

I doubt that there is any open source code for testing a domain model using the CommonDomain and EventStore libraries. In many ways, there is very little common code for testing domain models that implement CQRS.

Despite this, the same kinds of conventions contained in the Greg Jung code example can be easily applied to the CommonDomain library. In addition, everyone in both of these libraries adheres to an interface that should be relatively easy to falsify, if necessary.

It looks like I need to create a blog post on this.

+1
source

Here I found a very interesting splash: http://pastebin.com/upZS72W0

+1
source

All Articles