Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-23 00:13:58 +00:00
parent ae53e48342
commit 9e6047a02d
15 changed files with 43 additions and 12 deletions

22
tldr/dotnet-test Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`