Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorElinor Fung <elfung@microsoft.com>2022-03-08 20:14:43 +0300
committerGitHub <noreply@github.com>2022-03-08 20:14:43 +0300
commit627851323fe8f15539c163aabd7d7c644766c549 (patch)
tree3c78a019d87eee41fcfdc0d78042955da7676408 /docs
parentfa5dcda23c681031b5d2bd68482702baef80b836 (diff)
Add tests for `ijwhost` (#66308)
Diffstat (limited to 'docs')
-rw-r--r--docs/workflow/testing/host/testing.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/workflow/testing/host/testing.md b/docs/workflow/testing/host/testing.md
index 5d990c42080..6a912e34e3c 100644
--- a/docs/workflow/testing/host/testing.md
+++ b/docs/workflow/testing/host/testing.md
@@ -64,14 +64,16 @@ If all tests have not been previously run, make sure the [test context](#test-co
Tests from a specific test project can be run using [`dotnet test`](https://docs.microsoft.com/dotnet/core/tools/dotnet-test) targeting the built test binary. For example:
```
-dotnet test artifacts/bin/HostActivation.Tests/Debug/net5.0/HostActivation.Tests.dll
+dotnet test artifacts/bin/HostActivation.Tests/Debug/net5.0/HostActivation.Tests.dll --filter category!=failing
```
To filter to specific tests within the test library, use the [filter options](https://docs.microsoft.com/dotnet/core/tools/dotnet-test#filter-option-details) available for `dotnet test`. For example:
```
-dotnet test artifacts/bin/HostActivation.Tests/Debug/net5.0/HostActivation.Tests.dll --filter DependencyResolution
+dotnet test artifacts/bin/HostActivation.Tests/Debug/net5.0/HostActivation.Tests.dll --filter DependencyResolution&category!=failing
```
+The `category!=failing` is to respect the [filtering traits](../libraries/filtering-tests.md) used by the runtime repo.
+
### Visual Studio
The [Microsoft.DotNet.CoreSetup.sln](/src/installer/Microsoft.DotNet.CoreSetup.sln) can be used to run and debug host tests through Visual Studio. When using the solution, the product should have already been [built](#building-tests) and the [test context](#test-context) set up.