|
|
|
|
|
by WatchDog
3976 days ago
|
|
So the alternative is to mock out every database call or use a full database to run the tests.
Using an in-memory database is convenient, keeps your tests portable and most importantly it helps catch a lot of bugs that might of been missed with mocking.
It might not be as good as using the real DB, but its better nothing. |
|