dotnet test
all
Execute tests for a .NET application. Note: View <https://learn.microsoft.com/dotnet/core/testing/selective-unit-tests> for supported filter expressions.
More info →Examples (3)
Execute tests for a .NET project/solution in the current directory
Execute tests for a .NET project/solution in a specific location
dotnet test path/to/project_or_solutionExecute tests matching the given filter expression
dotnet test --filter Name~TestMethod1made by @shridhargupta | data from tldr-pages