Skip to content

Commit 4331a3b

Browse files
committed
Clarify the dotnet-nunit docs to require NUnit3TestAdapter for nunit logger
1 parent 04232af commit 4331a3b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,11 @@ For more information see [dotnet test](https://docs.microsoft.com/en-us/dotnet/c
260260
<details>
261261
<summary>dotnet-nunit</summary>
262262

263-
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.
264-
To get test results in NUnit3 format you can execute your tests with CLI arguments:
263+
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.
264+
Install the [NUnit3TestAdapter](https://www.nuget.org/packages/NUnit3TestAdapter) package (required; it registers the `nunit` logger for `dotnet test`), then run tests with:
265265

266266
`dotnet test --logger "nunit;LogFileName=test-results.xml"`
267267

268-
Or you can configure NUnit output in your test project by adding the [NUnit3TestAdapter](https://www.nuget.org/packages/NUnit3TestAdapter) package.
269-
270268
Supported testing frameworks:
271269
- [NUnit](https://nunit.org/)
272270

0 commit comments

Comments
 (0)