From fa94b88777c02d1d85d35798e7f03dcd369a081f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire?= Date: Fri, 19 Jan 2024 06:16:51 -0500 Subject: [PATCH] Add note about docker in the testing doc (fix #95436) (#95557) * Add note about docker in the testing doc (fix #95436) * Update testing.md --- docs/workflow/testing/libraries/testing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/workflow/testing/libraries/testing.md b/docs/workflow/testing/libraries/testing.md index 7eeba3bc257e6a..0c32053356c4e6 100644 --- a/docs/workflow/testing/libraries/testing.md +++ b/docs/workflow/testing/libraries/testing.md @@ -79,6 +79,9 @@ cd src\libraries\System.Collections.Immutable\tests dotnet build /t:Test ``` +**NOTE**: if your environment doesn't have the required SDK installed (e.g. inside [Docker container](/docs/workflow/building/coreclr/linux-instructions.md#build-using-docker)), +use `./dotnet.sh`/`.\dotnet.cmd` instead of `dotnet`. + ### Running only certain tests It is possible to pass parameters to the underlying xunit runner via the `XUnitOptions` parameter, e.g., to filter to tests in just one fixture (class):