spekt - NunitXml.TestLogger 3.0.102
Xml logger for NUnit v3 compliant xml report when test is running with "dotnet test" or "dotnet vstest".
PM> Install-Package NunitXml.TestLogger -Version 3.0.102 -Source https://www.myget.org/F/spekt/api/v3/index.json
> nuget.exe install NunitXml.TestLogger -Version 3.0.102 -Source https://www.myget.org/F/spekt/api/v3/index.json
> dotnet add package NunitXml.TestLogger --version 3.0.102 --source https://www.myget.org/F/spekt/api/v3/index.json
source https://www.myget.org/F/spekt/api/v3/index.json
nuget NunitXml.TestLogger ~> 3.0.102
Copy to clipboard
> choco install NunitXml.TestLogger --version 3.0.102 --source https://www.myget.org/F/spekt/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "spekt" -SourceLocation "https://www.myget.org/F/spekt/api/v2"
Install-Module -Name "NunitXml.TestLogger" -RequiredVersion "3.0.102" -Repository "spekt"
Copy to clipboard
[!IMPORTANT]
Development of v4.x and subsequent versions of the NUnit logger is moved to the testlogger repository. Kindly report any new issues or contribute your patches in that repo.
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
, junit
or appveyor
loggers, visit following repositories:
- https://github.com/spekt/xunit.testlogger
- https://github.com/spekt/junit.testlogger
- https://github.com/spekt/appveyor.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
- .NETFramework 4.5: 4.5.0.0
- .NETStandard 1.0: 1.0.0.0
OwnersArun Mahapatra |
Authorsspekt |
Project URLhttps://github.com/spekt/nunit.testlogger |
LicenseUnknown |
Info629 total downloads |
4 downloads for version 3.0.102 |
Download (39.06 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
4.1.1-pre.297 | 69.89 KB | Mon, 14 Oct 2024 10:55:28 GMT | 0 | ||||
4.1.0 | 69.86 KB | Sat, 12 Oct 2024 03:51:18 GMT | 6 | ||||
4.0.290 | 69.76 KB | Sat, 12 Oct 2024 03:15:34 GMT | 0 | ||||
4.0.289 | 69.77 KB | Sat, 12 Oct 2024 01:34:18 GMT | 0 | ||||
4.0.288 | 69.75 KB | Fri, 11 Oct 2024 15:10:41 GMT | 0 | ||||
4.0.287 | 69.76 KB | Fri, 11 Oct 2024 14:33:33 GMT | 0 | ||||
4.0.286 | 69.76 KB | Thu, 10 Oct 2024 18:29:48 GMT | 0 | ||||
4.0.282 | 69.75 KB | Mon, 07 Oct 2024 09:48:05 GMT | 0 | ||||
4.0.281 | 69.74 KB | Mon, 07 Oct 2024 09:47:26 GMT | 0 | ||||
4.0.280 | 69.75 KB | Mon, 07 Oct 2024 09:47:08 GMT | 0 | ||||
4.0.275 | 69.74 KB | Wed, 02 Oct 2024 03:38:19 GMT | 0 | ||||
4.0.274 | 69.74 KB | Wed, 02 Oct 2024 03:37:53 GMT | 0 | ||||
4.0.272 | 69.77 KB | Sun, 29 Sep 2024 07:40:02 GMT | 0 | ||||
4.0.270 | 69.75 KB | Mon, 23 Sep 2024 13:47:54 GMT | 0 | ||||
4.0.259 | 69.76 KB | Mon, 12 Aug 2024 15:34:11 GMT | 0 | ||||
4.0.255 | 69.74 KB | Sun, 28 Jul 2024 11:06:22 GMT | 0 | ||||
4.0.255-pre.293 | 69.79 KB | Sat, 12 Oct 2024 03:42:59 GMT | 0 | ||||
4.0.254 | 69.73 KB | Sun, 28 Jul 2024 10:53:50 GMT | 2 | ||||
4.0.253 | 69.49 KB | Sun, 28 Jul 2024 10:48:07 GMT | 0 | ||||
4.0.252 | 69.49 KB | Sun, 28 Jul 2024 10:47:23 GMT | 0 | ||||
4.0.251 | 69.48 KB | Sun, 28 Jul 2024 10:46:45 GMT | 0 | ||||
4.0.250 | 69.48 KB | Sun, 28 Jul 2024 10:46:11 GMT | 1 | ||||
4.0.249 | 69.49 KB | Sun, 28 Jul 2024 10:27:33 GMT | 0 | ||||
4.0.248 | 69.5 KB | Sun, 28 Jul 2024 10:27:16 GMT | 0 | ||||
4.0.239 | 70.58 KB | Mon, 08 Jul 2024 07:29:47 GMT | 4 | ||||
4.0.237 | 70.59 KB | Mon, 01 Jul 2024 11:47:15 GMT | 2 | ||||
4.0.235 | 70.59 KB | Mon, 01 Jul 2024 10:56:45 GMT | 3 | ||||
4.0.234 | 70.58 KB | Mon, 01 Jul 2024 10:56:18 GMT | 2 | ||||
4.0.233 | 70.57 KB | Mon, 01 Jul 2024 10:56:01 GMT | 2 | ||||
4.0.228 | 70.55 KB | Thu, 27 Jun 2024 11:23:25 GMT | 2 | ||||
4.0.226 | 70.58 KB | Wed, 26 Jun 2024 10:52:56 GMT | 3 | ||||
4.0.223 | 69.78 KB | Mon, 24 Jun 2024 11:03:44 GMT | 5 | ||||
4.0.220 | 69.79 KB | Mon, 24 Jun 2024 10:27:08 GMT | 5 | ||||
4.0.217 | 69.77 KB | Mon, 24 Jun 2024 06:41:04 GMT | 3 | ||||
4.0.216 | 69.79 KB | Mon, 24 Jun 2024 06:40:30 GMT | 5 | ||||
4.0.213 | 69.8 KB | Mon, 24 Jun 2024 04:48:57 GMT | 5 | ||||
4.0.207 | 69.78 KB | Sun, 23 Jun 2024 11:12:48 GMT | 4 | ||||
4.0.205 | 69.78 KB | Sat, 22 Jun 2024 18:45:21 GMT | 4 | ||||
4.0.201 | 69.77 KB | Sat, 22 Jun 2024 03:57:52 GMT | 5 | ||||
4.0.200 | 69.76 KB | Fri, 21 Jun 2024 20:34:17 GMT | 4 | ||||
4.0.197 | 69.79 KB | Fri, 21 Jun 2024 19:38:25 GMT | 4 | ||||
4.0.195 | 69.79 KB | Fri, 21 Jun 2024 19:30:21 GMT | 4 | ||||
4.0.192 | 69.79 KB | Fri, 21 Jun 2024 19:20:56 GMT | 4 | ||||
4.0.191 | 69.8 KB | Fri, 21 Jun 2024 18:47:56 GMT | 4 | ||||
4.0.190 | 69.78 KB | Mon, 17 Jun 2024 11:32:52 GMT | 4 | ||||
4.0.189 | 69.78 KB | Mon, 17 Jun 2024 11:27:25 GMT | 4 | ||||
4.0.188 | 69.8 KB | Mon, 17 Jun 2024 11:26:28 GMT | 2 | ||||
4.0.187 | 69.78 KB | Mon, 17 Jun 2024 11:18:53 GMT | 4 | ||||
4.0.186 | 69.78 KB | Mon, 17 Jun 2024 11:16:04 GMT | 4 | ||||
4.0.185 | 69.76 KB | Mon, 17 Jun 2024 11:13:42 GMT | 4 | ||||
4.0.182 | 69.77 KB | Mon, 17 Jun 2024 11:04:14 GMT | 4 | ||||
4.0.175 | 66.97 KB | Mon, 17 Jun 2024 09:11:10 GMT | 4 | ||||
3.1.23 | 75.93 KB | Mon, 17 Jun 2024 11:03:01 GMT | 3 | ||||
3.1.22 | 75.93 KB | Sat, 10 Feb 2024 01:48:49 GMT | 3 | ||||
3.1.21 | 75.93 KB | Sat, 10 Feb 2024 01:39:50 GMT | 4 | ||||
3.1.20 | 75.93 KB | Sat, 10 Feb 2024 01:34:55 GMT | 7 | ||||
3.1.18 | 75.42 KB | Sat, 30 Dec 2023 13:55:49 GMT | 5 | ||||
3.1.16 | 75.41 KB | Thu, 06 Jul 2023 12:26:07 GMT | 6 | ||||
3.1.15 | 75.4 KB | Thu, 06 Jul 2023 12:09:47 GMT | 7 | ||||
3.1.12 | 72.94 KB | Wed, 05 Jul 2023 05:23:50 GMT | 5 | ||||
3.1.8 | 68.1 KB | Tue, 04 Jul 2023 11:19:27 GMT | 4 | ||||
3.1.2 | 67.71 KB | Tue, 04 Jul 2023 10:19:19 GMT | 5 | ||||
3.0.148 | 72.92 KB | Wed, 05 Jul 2023 05:21:01 GMT | 4 | ||||
3.0.144 | 68.1 KB | Tue, 04 Jul 2023 11:16:37 GMT | 6 | ||||
3.0.143 | 68.1 KB | Tue, 04 Jul 2023 11:02:06 GMT | 3 | ||||
3.0.142 | 68.1 KB | Tue, 04 Jul 2023 10:42:51 GMT | 5 | ||||
3.0.141 | 68.1 KB | Tue, 04 Jul 2023 10:38:07 GMT | 6 | ||||
3.0.140 | 68.09 KB | Tue, 04 Jul 2023 10:28:30 GMT | 4 | ||||
3.0.139 | 68.09 KB | Tue, 04 Jul 2023 10:21:32 GMT | 5 | ||||
3.0.138 | 68.1 KB | Tue, 04 Jul 2023 10:19:57 GMT | 5 | ||||
3.0.137 | 68.1 KB | Tue, 04 Jul 2023 10:08:50 GMT | 5 | ||||
3.0.133 | 68.09 KB | Mon, 30 Jan 2023 16:30:36 GMT | 4 | ||||
3.0.132 | 68.09 KB | Mon, 30 Jan 2023 16:29:14 GMT | 5 | ||||
3.0.131 | 68.09 KB | Sun, 29 Jan 2023 13:06:04 GMT | 11 | ||||
3.0.129 | 68.1 KB | Sat, 10 Sep 2022 02:28:14 GMT | 5 | ||||
3.0.128 | 68.09 KB | Sat, 10 Sep 2022 02:26:26 GMT | 5 | ||||
3.0.127 | 68.09 KB | Sun, 26 Jun 2022 08:54:48 GMT | 9 | ||||
3.0.124 | 64.96 KB | Sat, 04 Dec 2021 13:29:50 GMT | 10 | ||||
3.0.123 | 64.96 KB | Sat, 04 Dec 2021 13:28:35 GMT | 6 | ||||
3.0.120 | 64.85 KB | Mon, 08 Nov 2021 18:03:23 GMT | 2 | ||||
3.0.119 | 63.71 KB | Sat, 06 Nov 2021 17:35:41 GMT | 5 | ||||
3.0.118 | 63.71 KB | Sat, 06 Nov 2021 17:34:12 GMT | 6 | ||||
3.0.117 | 63.71 KB | Sat, 06 Nov 2021 16:32:09 GMT | 6 | ||||
3.0.115 | 63.46 KB | Sat, 06 Nov 2021 16:26:10 GMT | 6 | ||||
3.0.114 | 63.33 KB | Mon, 01 Nov 2021 17:18:59 GMT | 4 | ||||
3.0.113 | 39.06 KB | Tue, 25 May 2021 07:48:51 GMT | 4 | ||||
3.0.110 | 39.06 KB | Fri, 21 May 2021 04:13:49 GMT | 6 | ||||
3.0.109 | 39.06 KB | Fri, 21 May 2021 03:36:35 GMT | 5 | ||||
3.0.108 | 39.06 KB | Fri, 21 May 2021 03:35:21 GMT | 5 | ||||
3.0.107 | 39.06 KB | Fri, 21 May 2021 02:57:23 GMT | 8 | ||||
3.0.106 | 39.06 KB | Fri, 21 May 2021 02:56:15 GMT | 6 | ||||
3.0.105 | 39.06 KB | Fri, 21 May 2021 02:54:57 GMT | 6 | ||||
3.0.104 | 39 KB | Fri, 21 May 2021 02:48:13 GMT | 7 | ||||
3.0.103 | 39.06 KB | Fri, 21 May 2021 02:46:56 GMT | 7 | ||||
3.0.102 | 39.06 KB | Fri, 21 May 2021 02:45:39 GMT | 4 | ||||
3.0.101 | 39.06 KB | Fri, 21 May 2021 02:41:19 GMT | 4 | ||||
3.0.99 | 39 KB | Wed, 10 Mar 2021 16:33:14 GMT | 6 | ||||
3.0.98 | 39 KB | Wed, 10 Mar 2021 16:31:04 GMT | 6 | ||||
3.0.97 | 39 KB | Wed, 10 Mar 2021 16:25:50 GMT | 7 | ||||
3.0.95 | 39 KB | Sun, 31 Jan 2021 05:26:52 GMT | 5 | ||||
3.0.94 | 39 KB | Sun, 31 Jan 2021 05:22:16 GMT | 5 | ||||
3.0.92 | 39 KB | Sun, 31 Jan 2021 05:12:28 GMT | 6 | ||||
3.0.91 | 39 KB | Sun, 31 Jan 2021 05:08:21 GMT | 7 | ||||
3.0.88 | 39.16 KB | Wed, 27 Jan 2021 07:00:26 GMT | 5 | ||||
3.0.87 | 39.17 KB | Wed, 27 Jan 2021 06:55:27 GMT | 6 | ||||
2.1.83 | 36.64 KB | Sat, 23 Jan 2021 03:25:51 GMT | 4 | ||||
2.1.81 | 36.63 KB | Wed, 28 Oct 2020 01:22:40 GMT | 10 | ||||
2.1.80 | 36.63 KB | Wed, 28 Oct 2020 01:21:32 GMT | 7 | ||||
2.1.79 | 36.64 KB | Sat, 10 Oct 2020 12:20:49 GMT | 4 | ||||
2.1.77 | 36.53 KB | Sun, 27 Sep 2020 02:41:16 GMT | 6 | ||||
2.1.76 | 36.53 KB | Sun, 27 Sep 2020 02:38:27 GMT | 6 | ||||
2.1.66 | 26.4 KB | Sat, 09 May 2020 12:47:04 GMT | 5 | ||||
2.1.65 | 25.45 KB | Sat, 09 May 2020 12:14:35 GMT | 5 | ||||
2.1.63 | 25.45 KB | Sat, 09 May 2020 12:09:33 GMT | 6 | ||||
2.1.62 | 25.45 KB | Sat, 09 May 2020 12:02:50 GMT | 6 | ||||
2.1.61 | 23.31 KB | Sat, 09 May 2020 11:57:50 GMT | 4 | ||||
2.1.52 | 25.44 KB | Tue, 01 Oct 2019 12:21:47 GMT | 12 | ||||
2.1.47 | 23.43 KB | Tue, 03 Sep 2019 01:04:52 GMT | 7 | ||||
2.1.46 | 23.43 KB | Sat, 15 Jun 2019 01:03:52 GMT | 7 | ||||
2.1.41 | 23.31 KB | Mon, 20 May 2019 01:10:38 GMT | 10 | ||||
2.1.36 | 22.36 KB | Thu, 22 Nov 2018 01:47:34 GMT | 8 | ||||
2.1.31 | 22.5 KB | Tue, 20 Nov 2018 00:12:48 GMT | 7 | ||||
2.1.29 | 20.08 KB | Sun, 18 Nov 2018 00:25:04 GMT | 7 | ||||
2.1.27 | 19.7 KB | Wed, 14 Nov 2018 00:22:05 GMT | 8 | ||||
2.1.25 | 20.13 KB | Mon, 12 Nov 2018 04:16:40 GMT | 6 | ||||
2.1.23 | 20.08 KB | Sun, 11 Nov 2018 00:32:37 GMT | 6 | ||||
2.1.20 | 19.98 KB | Sat, 10 Nov 2018 01:16:52 GMT | 7 | ||||
2.1.17 | 19.98 KB | Thu, 08 Nov 2018 01:00:53 GMT | 8 | ||||
2.1.15 | 17.95 KB | Mon, 10 Sep 2018 00:04:22 GMT | 11 | ||||
2.1.13 | 17.74 KB | Wed, 11 Jul 2018 04:12:48 GMT | 10 | ||||
2.1.12 | 17.74 KB | Wed, 11 Jul 2018 04:09:38 GMT | 8 | ||||
2.1.10 | 17.67 KB | Mon, 25 Jun 2018 01:56:14 GMT | 7 | ||||
2.1.9 | 17.67 KB | Sun, 24 Jun 2018 05:52:50 GMT | 6 | ||||
2.1.8 | 17.67 KB | Sat, 23 Jun 2018 03:19:06 GMT | 7 | ||||
2.1.3 | 17.66 KB | Sat, 23 Jun 2018 01:46:44 GMT | 7 | ||||
2.1.2 | 17.67 KB | Sat, 23 Jun 2018 01:44:35 GMT | 6 | ||||
2.1.1 | 17.66 KB | Sat, 23 Jun 2018 01:34:30 GMT | 7 |