本文介绍了测试使用域joliver commondomain / eventstore的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找测试使用JOlivers CommonDomain和EventStore域的很好的例子。

I'm looking for good examples of testing the domain using JOlivers CommonDomain and EventStore

我一直在看格雷格·扬录像,他有一个很好的简单的抽象聚合根测试夹具。

I have been watching greg youngs videos and he has a nice simple abstract aggregate root test fixture.

有没有像它可以与这些库?

is there anything like that which can be used with these libs?

推荐答案

编辑:由于不成熟而被迫继承在CommonDomain,Documently /开发,现在推出了自己的简单EventRouter

是的,我这里有一个例子:将告诉您如何使用它在一起,有在那里以及测试。

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

基本上,它是采用CommonDomain和EventStore与RavenDB数据库在一起。

Basically, what it does is that is uses CommonDomain and EventStore together with a RavenDB database.

这不是一篇文章,所以我不包括它的任何重要部分。这是一个示例项目,这是什么提问要求。我不知道,如果管理员是愚蠢到相信答案:我没有任何样本,是真正的答案,但如果他们想维护自己的权威,那么他们为什么不删除非答案是选定为答案的提问,而不是真正的删除和真正的答案。

This is not an article, so I'm not including any essential parts of it. It's a sample project, which is what the questioner asks for. I don't know if the admins are stupid enough to believe the answer "I don't have any samples" is the true answer, but if they want to assert their authority, then why don't they delete the non answer that was selected as the "answer" by the questioner instead of deleting real and true answers.

这篇关于测试使用域joliver commondomain / eventstore的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 23:15