What's New & Next in Testing & Code Coverage in Visual Studio
summary
Visual Studio 2022 now uses a MTP modern test platform with built-in code coverage, colorized editor glyphs and faster reporting; test Explorer, CodeLens and revamped live unit testing show line/branch coverage and run results interactively. A demo uses eShop with 73 tests (62% coverage, then ~82% after Copilot-generated tests). Exporting via the .NET reportgenerator produces HTML/XML reports. The session also demos custom Copilot instructions and MEAI eval evaluations (relevance, truth, coherence) wired into unit tests and CI with caching and HTML/JSON reporting.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:09Visual Studio 2022 testing overview
- 2:09Testing platform and tooling
- 4:49New features in 2022
- 6:25Code coverage basics
- 8:29Code coverage in action
- 12:26Modern testing tools demo
- 15:21Fixing bugs with Copilot
- 17:42Live unit testing workflows
- 22:28AI-assisted test generation
- 27:34Advanced AI configuration
- 30:13Custom instructions and MCP
- 42:10Evaluating AI models
- 47:40Evaluation library demo
- 56:32Production testing and conclusion
related talks
01h 02mVisual Studio Toolbox Live
42mWhat’s new in GitHub Copilot and Visual Studio
01h 02mWhat's New in Visual Studio for C++ Developers
39mPower of AI and Code Quality and Performance
54mMaximize joy minimize toil with great developer experiences
37mIncrease your .NET Productivity Tips & Tricks in Visual Studio 2019
01h 00mTips & Tricks: Get the Most Out of GitHub CoPilot
47mWhat’s New for Visual Studio Code: Performance, GitHub Copilot, and CMake Enhancements
