开发者

AutoFixture vs NBuilder [closed]

开发者 https://www.devze.com 2022-12-30 02:39 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers 开发者_StackOverflowto be supported by facts, references,or expertise, but this question will like
As it currently stands, this question is not a good fit for our Q&A format. We expect answers 开发者_StackOverflowto be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I'm selecting tool for populating my .net models (poco) with test data. I'm actually mocking wcf services and need to populate datacontract objects with test data. Found a huge number of test data generation tools, but the majority is related to DB test data generation and don't fit well for .net objects creation.

The most applicable that I found are:

  1. AutoFixture
  2. NBuilder

They both seem to provide quite similar functionality. I'm interested in any feedback on those tools. Pros and cons?


Hi I was in the process of creating my own test builder when I ran into these two. I have tried both and found autofixture to be far preferable it has a richer syntax is extremely flexible and was easier to modify for my own use.

Marks tests are excellent, well written and this mixed with his blog should get you most of the way there.

brett

0

精彩评论

暂无评论...
验证码 换一张
取 消