From 4331a3b620b444f933f7cb8d15739efb0be6d785 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sun, 23 Nov 2025 15:26:03 +0100 Subject: [PATCH] Clarify the `dotnet-nunit` docs to require `NUnit3TestAdapter` for `nunit` logger --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 24c1c12..d900926 100644 --- a/README.md +++ b/README.md @@ -260,13 +260,11 @@ For more information see [dotnet test](https://docs.microsoft.com/en-us/dotnet/c
dotnet-nunit -Test execution must be configured to produce [NUnit3](https://docs.nunit.org/articles/nunit/technical-notes/usage/Test-Result-XML-Format.html) XML test results. -To get test results in NUnit3 format you can execute your tests with CLI arguments: +Test execution must be configured to generate [NUnit3](https://docs.nunit.org/articles/nunit/technical-notes/usage/Test-Result-XML-Format.html) XML test results. +Install the [NUnit3TestAdapter](https://www.nuget.org/packages/NUnit3TestAdapter) package (required; it registers the `nunit` logger for `dotnet test`), then run tests with: `dotnet test --logger "nunit;LogFileName=test-results.xml"` -Or you can configure NUnit output in your test project by adding the [NUnit3TestAdapter](https://www.nuget.org/packages/NUnit3TestAdapter) package. - Supported testing frameworks: - [NUnit](https://nunit.org/)