--- title: "Code Coverage of Automated Tests | Microsoft Docs" author: rick-anderson description: "This video demonstrates how to use code coverage as a metric for determining how effective our testing is of an ASP.NET Web application. After a test has com..." ms.author: aspnetcontent manager: wpickett ms.date: 03/23/2007 ms.topic: article ms.assetid: b1a7fbfc-523f-473e-a454-8e6b90099b1e ms.technology: dotnet-webforms ms.prod: .net-framework msc.legacyurl: /web-forms/videos/vs-2005/code-coverage-of-automated-tests msc.type: video --- Code Coverage of Automated Tests ==================== by Eric Lee This video demonstrates how to use code coverage as a metric for determining how effective our testing is of an ASP.NET Web application. After a test has completed, Visual Studio Team System reports on the percentage of code that was executed and indicates executed code with a green background and unexecuted code with a red background, making it easy to see the code that was covered by the test. You will also learn how you can use C# or Visual Basic to extend the automated test. [▶ Watch video (6 minutes)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/code-coverage-of-automated-tests) >[!div class="step-by-step"] [Previous](measuring-the-business-value-of-ajax.md) [Next](custom-extraction-rules-and-coded-web-tests.md)