Dec 30, 2014 08:20 AM|Mikesdotnetting|LINK
f we use repo pattern for unit testing, then actual DB will not be affected. That is we will pass dummy data for testing. Then how we will test if the DB is working correctly ?
You should not involve the database at all in unit tests. When you include the database, it is not a unit test. It's an integration test.