Hi All
I've been reading Scott Gu's post on code first design with ASP.Net MVC 2.0 and EF4 here:
In the post he uses the SQL CE4 database for development and 'seeds' test data.
My question is related to testing. It is widely regarded that we should not test against a database for reasons such as speed, having to write 'clean up' code and to eliminate errors from the database itself.
If we use SQL CE4 as in the post, we can regenerate and seed with data very quickly and the database is file based and within our solution.
Is it still bad practice to test against this database directly?
Thanks
Davy