diff options
author | Elinor Fung <elfung@microsoft.com> | 2022-03-08 20:14:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 20:14:43 +0300 |
commit | 627851323fe8f15539c163aabd7d7c644766c549 (patch) | |
tree | 3c78a019d87eee41fcfdc0d78042955da7676408 /docs | |
parent | fa5dcda23c681031b5d2bd68482702baef80b836 (diff) |
Add tests for `ijwhost` (#66308)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/workflow/testing/host/testing.md | 6 |
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. |