NunitXml.TestLogger
4.1.0
dotnet add package NunitXml.TestLogger --version 4.1.0
NuGet\Install-Package NunitXml.TestLogger -Version 4.1.0
<PackageReference Include="NunitXml.TestLogger" Version="4.1.0" />
paket add NunitXml.TestLogger --version 4.1.0
#r "nuget: NunitXml.TestLogger, 4.1.0"
// Install NunitXml.TestLogger as a Cake Addin #addin nuget:?package=NunitXml.TestLogger&version=4.1.0 // Install NunitXml.TestLogger as a Cake Tool #tool nuget:?package=NunitXml.TestLogger&version=4.1.0
NUnit Test Logger
NUnit xml report extension for Visual Studio Test Platform.
Packages
Logger | Stable Package | Pre-release Package |
---|---|---|
NUnit |
If you're looking for xunit
or junit
, please see https://github.com/spekt/testlogger.
Usage
NUnit logger can generate xml reports in the NUnit v3 format.
- Add a reference to the NUnit Logger NuGet package in test project
- Use the following command line in tests
> dotnet test --logger:nunit
- Test results are generated in the
TestResults
directory relative to thetest.csproj
A path for the report file can be specified as follows:
> dotnet test --logger:"nunit;LogFilePath=test-result.xml"
test-result.xml
will be generated in the same directory as test.csproj
.
Note: the arguments to --logger
should be in quotes since ;
is treated as a command delimiter in shell.
All common options to the logger is documented in the wiki. E.g.
token expansion for {assembly}
or {framework}
in result file.
NUnit test framework settings
- If your scenario requires test case properties like
Description
in the xml, please enable internal properties for the nunit adapter:
dotnet test --logger:nunit -- NUnit.ShowInternalProperties=true
- NUnit test adapter also provides a mechanism to emit test result xml from the NUnit engine. You may use following commandline for the same:
dotnet test --logger:nunit -- NUnit.TestOutputXml=<foldername relative to test binary directory>
Release Checklist
A note to self on how to make releases:
- Create changelog entry with tentative version.
- Verify the version on Spekt myget (remember to update version in command below).
> dotnet new nunit
> dotnet add package NunitXml.TestLogger --version 3.0.109 --source https://www.myget.org/F/spekt/api/v3/index.json
> dotnet test --logger:nunit
- Push the version on Spekt myget to Nuget.
- Create a github release with above version tag. Link to the changelog section.
- Thank the issue authors and notify them about the released version.
License
MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.0 is compatible. netstandard1.1 was computed. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NunitXml.TestLogger:
Package | Downloads |
---|---|
Framework.Selenium
A full-featured Selenium wrapper that incorporates Appium and other runners, API testing, and Database testing. This package tracks steps taken and has reporting extentions for some tools and can be expanded for nearly any test management tool. Advanced, object-oriented design for fast, efficient, and reliable automated tests. |
|
KorbellaTests.SharedServices.API
Package Description |
GitHub repositories (18)
Showing the top 5 popular GitHub repositories that depend on NunitXml.TestLogger:
Repository | Stars |
---|---|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
Prowlarr/Prowlarr
Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps, supporting management of both Torrent Trackers and Usenet Indexers.
|
|
Lidarr/Lidarr
Looks and smells like Sonarr but made for music.
|
Version | Downloads | Last updated |
---|---|---|
4.1.0 | 103,019 | 10/12/2024 |
4.0.254 | 241,724 | 7/28/2024 |
3.1.20 | 751,483 | 2/10/2024 |
3.1.15 | 1,388,421 | 7/6/2023 |
3.0.131 | 916,294 | 1/30/2023 |
3.0.127 | 938,669 | 9/10/2022 |
3.0.117 | 2,676,324 | 11/6/2021 |
3.0.107 | 908,562 | 5/21/2021 |
3.0.97 | 277,912 | 3/10/2021 |
3.0.91 | 152,492 | 1/31/2021 |
2.1.80 | 825,529 | 10/28/2020 |
2.1.62 | 904,124 | 5/9/2020 |
2.1.41 | 1,668,025 | 5/20/2019 |
2.1.36 | 358,512 | 11/27/2018 |
2.1.17 | 40,164 | 11/9/2018 |
1.1.0 | 89,503 | 12/28/2017 |
1.0.0 | 13,098 | 9/26/2017 |