views:

112

answers:

1

Hello all,

I'm seleting 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 realted to DB test data generation and don't fit well for .net objects creatiom.

The most applicable that I found are:

  1. AutoFixture http://autofixture.codeplex.com
  2. NBuilder http://www.nbuilder.org

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

Thanks in advance!

+1  A: 

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