views:

87

answers:

1

Hi,

what test data approach/framework is recommended for .net unit testing? I'm in VS2010, C#, doing business logic layer testing.

By approaches I mean like: creating database snapshots, programmatically creating each time, etc etc. Like what approach to use to ensure at the start of each test the database is in a known state.

+1  A: 

Some would say that if you're using the database, then you're doing functional testing, not unit testing.

John Saunders