--- title: "[How Do I:] Run Unit Tests against a Deployed Database? | Microsoft Docs" author: pjhacker description: "If your ASP.NET application is configured to deploy a database along with the Web site, how can you verify that a valid database instance has been deployed?..." ms.author: aspnetcontent manager: wpickett ms.date: 08/22/2007 ms.topic: article ms.assetid: 83792674-f769-4c9a-889b-701cfc52de8b ms.technology: dotnet-webforms ms.prod: .net-framework msc.legacyurl: /web-forms/videos/vs-2005/how-do-i-run-unit-tests-against-a-deployed-database msc.type: video --- [How Do I:] Run Unit Tests against a Deployed Database? ==================== by [Paul Hacker](https://github.com/pjhacker) If your ASP.NET application is configured to deploy a database along with the Web site, how can you verify that a valid database instance has been deployed? In this video we learn how to run unit tests against the deployed database, asserting the existence of a value that is known to be consistent across database instances. [▶ Watch video (3 minutes)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-run-unit-tests-against-a-deployed-database) >[!div class="step-by-step"] [Previous](how-do-i-deploy-a-web-application-during-a-team-build.md) [Next](how-do-i-enable-code-coverage-and-profiling-in-production-applications.md)