dotnet-test: add page (#12815)

This commit is contained in:
Dany Marcoux 2024-05-22 12:35:36 +02:00 committed by GitHub
parent 972b07c330
commit d796aff2d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,17 @@
# dotnet test
> Execute tests for a .NET application.
> Note: View <https://learn.microsoft.com/en-us/dotnet/core/testing/selective-unit-tests> for supported filter expressions.
> More information: <https://learn.microsoft.com/dotnet/core/tools/dotnet-test>.
- Execute tests for a .NET project/solution in the current directory:
`dotnet test`
- Execute tests for a .NET project/solution in a specific location:
`dotnet test {{path/to/project_or_solution}}`
- Execute tests matching the given filter expression:
`dotnet test --filter {{Name~TestMethod1}}`