I'm pretty new to unit-testing. I hope I can get some ideas from you guys how I can solve my "problems".
Here is what I want to do:
We have some SQL Server 2012 databases. For unit-testing in Visual Studio 2012, I want to programmatically create a LocalDB
which has the same tables / functions / procedures like the "normal" databases.
But the tables in the LocalDB
should be empty and be populated with data (only the data needed for the test) in the unit-tests (so after every test the LocalDB
is empty)