Skip to content

Commit

Permalink
Add note about docker in the testing doc (fix dotnet#95436) (dotnet#9…
Browse files Browse the repository at this point in the history
…5557)

* Add note about docker in the testing doc (fix dotnet#95436)

* Update testing.md
  • Loading branch information
verdie-g authored Jan 19, 2024
1 parent a18d8cd commit fa94b88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/workflow/testing/libraries/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit fa94b88

Please sign in to comment.