spekt - NunitXml.TestLogger 3.0.99
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.99 -Source https://www.myget.org/F/spekt/api/v3/index.json
> nuget.exe install NunitXml.TestLogger -Version 3.0.99 -Source https://www.myget.org/F/spekt/api/v3/index.json
> dotnet add package NunitXml.TestLogger --version 3.0.99 --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.99
Copy to clipboard
> choco install NunitXml.TestLogger --version 3.0.99 --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.99" -Repository "spekt"
Copy to clipboard
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 |
Info155 total downloads |
2 downloads for version 3.0.99 |
Download (39 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
3.1.22 | 75.93 KB | Sat, 10 Feb 2024 01:48:49 GMT | 0 | ||||
3.1.21 | 75.93 KB | Sat, 10 Feb 2024 01:39:50 GMT | 0 | ||||
3.1.20 | 75.93 KB | Sat, 10 Feb 2024 01:34:55 GMT | 3 | ||||
3.1.18 | 75.42 KB | Sat, 30 Dec 2023 13:55:49 GMT | 1 | ||||
3.1.16 | 75.41 KB | Thu, 06 Jul 2023 12:26:07 GMT | 1 | ||||
3.1.15 | 75.4 KB | Thu, 06 Jul 2023 12:09:47 GMT | 3 | ||||
3.1.12 | 72.94 KB | Wed, 05 Jul 2023 05:23:50 GMT | 0 | ||||
3.1.8 | 68.1 KB | Tue, 04 Jul 2023 11:19:27 GMT | 0 | ||||
3.1.2 | 67.71 KB | Tue, 04 Jul 2023 10:19:19 GMT | 0 | ||||
3.0.148 | 72.92 KB | Wed, 05 Jul 2023 05:21:01 GMT | 0 | ||||
3.0.144 | 68.1 KB | Tue, 04 Jul 2023 11:16:37 GMT | 2 | ||||
3.0.143 | 68.1 KB | Tue, 04 Jul 2023 11:02:06 GMT | 0 | ||||
3.0.142 | 68.1 KB | Tue, 04 Jul 2023 10:42:51 GMT | 1 | ||||
3.0.141 | 68.1 KB | Tue, 04 Jul 2023 10:38:07 GMT | 2 | ||||
3.0.140 | 68.09 KB | Tue, 04 Jul 2023 10:28:30 GMT | 1 | ||||
3.0.139 | 68.09 KB | Tue, 04 Jul 2023 10:21:32 GMT | 0 | ||||
3.0.138 | 68.1 KB | Tue, 04 Jul 2023 10:19:57 GMT | 1 | ||||
3.0.137 | 68.1 KB | Tue, 04 Jul 2023 10:08:50 GMT | 1 | ||||
3.0.133 | 68.09 KB | Mon, 30 Jan 2023 16:30:36 GMT | 0 | ||||
3.0.132 | 68.09 KB | Mon, 30 Jan 2023 16:29:14 GMT | 1 | ||||
3.0.131 | 68.09 KB | Sun, 29 Jan 2023 13:06:04 GMT | 6 | ||||
3.0.129 | 68.1 KB | Sat, 10 Sep 2022 02:28:14 GMT | 0 | ||||
3.0.128 | 68.09 KB | Sat, 10 Sep 2022 02:26:26 GMT | 0 | ||||
3.0.127 | 68.09 KB | Sun, 26 Jun 2022 08:54:48 GMT | 4 | ||||
3.0.124 | 64.96 KB | Sat, 04 Dec 2021 13:29:50 GMT | 5 | ||||
3.0.123 | 64.96 KB | Sat, 04 Dec 2021 13:28:35 GMT | 1 | ||||
3.0.120 | 64.85 KB | Mon, 08 Nov 2021 18:03:23 GMT | 0 | ||||
3.0.119 | 63.71 KB | Sat, 06 Nov 2021 17:35:41 GMT | 0 | ||||
3.0.118 | 63.71 KB | Sat, 06 Nov 2021 17:34:12 GMT | 2 | ||||
3.0.117 | 63.71 KB | Sat, 06 Nov 2021 16:32:09 GMT | 1 | ||||
3.0.115 | 63.46 KB | Sat, 06 Nov 2021 16:26:10 GMT | 2 | ||||
3.0.114 | 63.33 KB | Mon, 01 Nov 2021 17:18:59 GMT | 0 | ||||
3.0.113 | 39.06 KB | Tue, 25 May 2021 07:48:51 GMT | 2 | ||||
3.0.110 | 39.06 KB | Fri, 21 May 2021 04:13:49 GMT | 2 | ||||
3.0.109 | 39.06 KB | Fri, 21 May 2021 03:36:35 GMT | 0 | ||||
3.0.108 | 39.06 KB | Fri, 21 May 2021 03:35:21 GMT | 0 | ||||
3.0.107 | 39.06 KB | Fri, 21 May 2021 02:57:23 GMT | 4 | ||||
3.0.106 | 39.06 KB | Fri, 21 May 2021 02:56:15 GMT | 1 | ||||
3.0.105 | 39.06 KB | Fri, 21 May 2021 02:54:57 GMT | 2 | ||||
3.0.104 | 39 KB | Fri, 21 May 2021 02:48:13 GMT | 2 | ||||
3.0.103 | 39.06 KB | Fri, 21 May 2021 02:46:56 GMT | 1 | ||||
3.0.102 | 39.06 KB | Fri, 21 May 2021 02:45:39 GMT | 0 | ||||
3.0.101 | 39.06 KB | Fri, 21 May 2021 02:41:19 GMT | 0 | ||||
3.0.99 | 39 KB | Wed, 10 Mar 2021 16:33:14 GMT | 2 | ||||
3.0.98 | 39 KB | Wed, 10 Mar 2021 16:31:04 GMT | 1 | ||||
3.0.97 | 39 KB | Wed, 10 Mar 2021 16:25:50 GMT | 2 | ||||
3.0.95 | 39 KB | Sun, 31 Jan 2021 05:26:52 GMT | 1 | ||||
3.0.94 | 39 KB | Sun, 31 Jan 2021 05:22:16 GMT | 1 | ||||
3.0.92 | 39 KB | Sun, 31 Jan 2021 05:12:28 GMT | 2 | ||||
3.0.91 | 39 KB | Sun, 31 Jan 2021 05:08:21 GMT | 2 | ||||
3.0.88 | 39.16 KB | Wed, 27 Jan 2021 07:00:26 GMT | 1 | ||||
3.0.87 | 39.17 KB | Wed, 27 Jan 2021 06:55:27 GMT | 2 | ||||
2.1.83 | 36.64 KB | Sat, 23 Jan 2021 03:25:51 GMT | 1 | ||||
2.1.81 | 36.63 KB | Wed, 28 Oct 2020 01:22:40 GMT | 5 | ||||
2.1.80 | 36.63 KB | Wed, 28 Oct 2020 01:21:32 GMT | 2 | ||||
2.1.79 | 36.64 KB | Sat, 10 Oct 2020 12:20:49 GMT | 1 | ||||
2.1.77 | 36.53 KB | Sun, 27 Sep 2020 02:41:16 GMT | 0 | ||||
2.1.76 | 36.53 KB | Sun, 27 Sep 2020 02:38:27 GMT | 1 | ||||
2.1.66 | 26.4 KB | Sat, 09 May 2020 12:47:04 GMT | 2 | ||||
2.1.65 | 25.45 KB | Sat, 09 May 2020 12:14:35 GMT | 0 | ||||
2.1.63 | 25.45 KB | Sat, 09 May 2020 12:09:33 GMT | 2 | ||||
2.1.62 | 25.45 KB | Sat, 09 May 2020 12:02:50 GMT | 1 | ||||
2.1.61 | 23.31 KB | Sat, 09 May 2020 11:57:50 GMT | 2 | ||||
2.1.52 | 25.44 KB | Tue, 01 Oct 2019 12:21:47 GMT | 7 | ||||
2.1.47 | 23.43 KB | Tue, 03 Sep 2019 01:04:52 GMT | 3 | ||||
2.1.46 | 23.43 KB | Sat, 15 Jun 2019 01:03:52 GMT | 3 | ||||
2.1.41 | 23.31 KB | Mon, 20 May 2019 01:10:38 GMT | 6 | ||||
2.1.36 | 22.36 KB | Thu, 22 Nov 2018 01:47:34 GMT | 3 | ||||
2.1.31 | 22.5 KB | Tue, 20 Nov 2018 00:12:48 GMT | 3 | ||||
2.1.29 | 20.08 KB | Sun, 18 Nov 2018 00:25:04 GMT | 2 | ||||
2.1.27 | 19.7 KB | Wed, 14 Nov 2018 00:22:05 GMT | 3 | ||||
2.1.25 | 20.13 KB | Mon, 12 Nov 2018 04:16:40 GMT | 3 | ||||
2.1.23 | 20.08 KB | Sun, 11 Nov 2018 00:32:37 GMT | 3 | ||||
2.1.20 | 19.98 KB | Sat, 10 Nov 2018 01:16:52 GMT | 2 | ||||
2.1.17 | 19.98 KB | Thu, 08 Nov 2018 01:00:53 GMT | 4 | ||||
2.1.15 | 17.95 KB | Mon, 10 Sep 2018 00:04:22 GMT | 7 | ||||
2.1.13 | 17.74 KB | Wed, 11 Jul 2018 04:12:48 GMT | 5 | ||||
2.1.12 | 17.74 KB | Wed, 11 Jul 2018 04:09:38 GMT | 4 | ||||
2.1.10 | 17.67 KB | Mon, 25 Jun 2018 01:56:14 GMT | 3 | ||||
2.1.9 | 17.67 KB | Sun, 24 Jun 2018 05:52:50 GMT | 2 | ||||
2.1.8 | 17.67 KB | Sat, 23 Jun 2018 03:19:06 GMT | 3 | ||||
2.1.3 | 17.66 KB | Sat, 23 Jun 2018 01:46:44 GMT | 3 | ||||
2.1.2 | 17.67 KB | Sat, 23 Jun 2018 01:44:35 GMT | 1 | ||||
2.1.1 | 17.66 KB | Sat, 23 Jun 2018 01:34:30 GMT | 2 |