.NET and ASP.NET Core 10 · Build, run and test
Run matching tests
Run only tests whose fully qualified name contains the text.
dotnet test --filter "FullyQualifiedName~Login"
Official .NET and ASP.NET Core 10 documentation
More build, run and test commands
All build, run and test commands · .NET and ASP.NET Core 10 cheatsheet