Moving Your .NET 10 Tests to Microsoft Testing Platform (MTP) with MSTest.Sdk
Автор: Stef from Samayas
Загружено: 2025-11-19
Просмотров: 88
Tired of VSTest hanging around in your solutions just because it “still works”? In this video, we take a practical look at moving test projects to the Microsoft Testing Platform (MTP) and MSTest.Sdk in .NET 10, and show that the change is mostly about project configuration, not rewriting all your tests.
After a short story‑driven intro about “never changing a winning system”, we break down what MTP is, why Microsoft introduced it as the modern, embedded test runner, and how it improves performance, diagnostics, and extensibility compared to VSTest. You will see how MTP runs directly from your test executable, uses a JSON‑RPC protocol for tooling integration, and is designed as the future default for .NET testing.
Then we go hands‑on: first creating brand‑new test projects with MSTest.Sdk as the project SDK, then upgrading existing “classic” Microsoft.NET.Sdk test projects step‑by‑step. Along the way we talk about when you still want a global.json, what happens with NuGet updates and pinned MSTest.Sdk versions, and how Visual Studio’s Test Explorer behaves once MTP is in charge.
Next, we look at adding extensibility on top of Microsoft.Testing.Platform, exploring how extensions are compiled in and how the new model keeps runs deterministic and lightweight. Finally, we dive into the updated dotnet test command and --help output, and finish by running the tests so you can clearly see the new experience from CLI and IDE.
We wrap up by showing that this migration is a relatively minor change: you mainly switch your project to MSTest.Sdk and MTP, while your existing MSTest tests keep running just fine.
#samayas #stef #dotnet #dotnet10 #csharp #visualstudio #MSTest #MSTestSdk #MicrosoftTestingPlatform #MTP #VSTest #UnitTesting #DotnetTest #VisualStudio #CSharpTesting #TestAutomation #CleanTests #DevOpsTesting
Don’t forget to like, subscribe, and hit the bell for more content.
Subscribe to my X account https://l.samayas.eu/jo3eaYEf3E?P=YT&...
Buy me a Coffee : https://l.samayas.eu/jX6xL7EWhd?P=YT&...
Studio Equipment
Camera Sony Alpha ZV-E10 II : https://l.samayas.eu/k7y90TREl0?P=YT&...
Secondary Camera Obsbot Tail Air : https://l.samayas.eu/iFQu9WfmCw?P=YT&...
Elgato Prompter : https://l.samayas.eu/fHVrqqXtSc?P=YT&...
Microphone Rode Wireless GO II : https://l.samayas.eu/afBINjiBXN?P=YT&...
Contents
0:00 - Introduction
0:10 - Description
2:18 - New Project
5:53 - Upgrade Project
7:32 - Global.json
7:55 - Nuget Upgrade
9:51 - Visual Studio
11:21 - Extensibility
11:48 - Cmd
14:18 - Run
15:21 - Conclusion
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: