MassDataHandler: generate test data to help with data layer testing

By Roy Osherove In Agile, Art Of Unit Testing, Cool Tools, Testing Guidelines, Unit Testing

Markdown version

Historical article · Originally published October 15, 2006; technical details may be outdated.

Yet another tool to help with integration tests against the database layer(got this by email:

"I wanted to let you know about an open source tool I created to help unit test the data access layer.

http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MassDataHandler

This tool uses knowledge of the database schema to do all the grunt work and let you store your test data in an easy xml file. It has an API so that you can call it from within any test framework. The download has a 10-step tutorial that is an MSTest project with its own live test database. The name of the tool is MassDataHandler, and it’s available for free from Microsoft’s new CodePlex site. I’m using it every day to help generate test data, especially in my unit tests for complex stored procs.

...

Thanks,

Tim"

Cool. I'll have to check it out then.

More in Agile

All posts in Agile