For me, it that last moment of truth to make sure that the site runs completely from end to end. I can write those Playwright tests in something like TypeScript, and I could launch them with node, but I like running end unit tests and using that test runner and test harness as my jumping off point for my .NET applications. Im used to right clicking and run unit tests or even better, right click and debug unit tests in Visual Studio or VS Code. This gets me the benefit of all of the assertions

Read the full article at ASP.NET Team