From 86e1249e05dc4e741edb5d4b101f9749c954c831 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 25 Nov 2024 10:05:03 +0100 Subject: [PATCH] add note about 2.8 --- docs/src/running-tests-csharp.md | 4 ++++ docs/src/test-runners-csharp.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/src/running-tests-csharp.md b/docs/src/running-tests-csharp.md index 2dca365e73..0b2fed27b3 100644 --- a/docs/src/running-tests-csharp.md +++ b/docs/src/running-tests-csharp.md @@ -138,6 +138,10 @@ dotnet test -- xUnit.MaxParallelThreads=5 See [here](https://xunit.net/docs/running-tests-in-parallel.html) for more information to run tests in parallel with xUnit. +:::note +We recommend xUnit 2.8+ which uses the [`conservative` parallelism algorithm](https://xunit.net/docs/running-tests-in-parallel.html#algorithms) by default. +::: + diff --git a/docs/src/test-runners-csharp.md b/docs/src/test-runners-csharp.md index ca7f32e78a..baea64bbdb 100644 --- a/docs/src/test-runners-csharp.md +++ b/docs/src/test-runners-csharp.md @@ -81,6 +81,10 @@ It will create by default as many processes as there are cores on the system. Yo dotnet test -- xUnit.MaxParallelThreads=5 ``` +:::note +We recommend xUnit 2.8+ which uses the [`conservative` parallelism algorithm](https://xunit.net/docs/running-tests-in-parallel.html#algorithms) by default. +::: +