.NET TDD with a Database and ADO.NET Entity Framework - Integration Tests
- by Brian
Hello,
I'm using ADO.NET entity framework, and am using an AdventureWorks database attached to my local database server. For unit testing, what approaches have people taken to work with a database?
Obviously, the database has to be in a pre-defined state of change so that the tests can have some isolation from each other... so I need to be able to run through the inserts and updates, then rollback either between tests or after the batch of tests are done.
Any advice?
Thanks.