Trying to wrap my head around test driven development. Unit testing is already in place and works fine from business layer up to and including web UI. Now I’m trying to solve question how to test data layer and underlined database. In the past, data layer had more code than in business layer and UI, and keeping the layer untested really hurts quality.
Are there any frameworks to set up database and data layer testing? To be specific, I'm looking solutions for .NET Framework and SQL Server, but I also interested for other platforms and databases.