NUnit.Extension.TestMonitor 1.0.43

.NET 5.0 .NET Standard 2.0 .NET Framework 4.8
There is a newer version of this package available.
See the version list below for details.
dotnet add package NUnit.Extension.TestMonitor --version 1.0.43
NuGet\Install-Package NUnit.Extension.TestMonitor -Version 1.0.43
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NUnit.Extension.TestMonitor" Version="1.0.43" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NUnit.Extension.TestMonitor --version 1.0.43
#r "nuget: NUnit.Extension.TestMonitor, 1.0.43"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NUnit.Extension.TestMonitor as a Cake Addin
#addin nuget:?package=NUnit.Extension.TestMonitor&version=1.0.43

// Install NUnit.Extension.TestMonitor as a Cake Tool
#tool nuget:?package=NUnit.Extension.TestMonitor&version=1.0.43

NUnit.Extension.TestMonitor

nuget nuget Build status Codacy Badge Codacy Badge

Provides realtime test monitoring functionality to NUnit using IPC/Named Pipes, log files, or StdOut.

Installation

Choose which configuration you would like to use: NUnit-Console runner or dotnet test. See below for installation/configuration instructions for either way of running tests.

Configuration

This extension is compatible with both the NUnit-Console runner as well as when using dotnet test however they must be configured differently. Keep in mind NUnit-Console runner does not currently support .Net Core testing, if you need that you should use the dotnet test configuration.

NUnit-Console Configuration

If using the NUnit-Console runner you must place the extension inside the addins/ folder of the installation location of NUnit-Console. Download the latest pre-compiled release. The addins/ folder of NUnit-Console should already exist in its installation folder, and you should place the extension dll's in it's own folder called NUnit.Extension.TestMonitor. Additionally, you must tell NUnit-Console of it's existence by appending to the nunit.bundle.addins file with the following contents:

addins/NUnit.Extension.TestMonitor/NUnit.Extension.TestMonitor.dll      # Include the TestMonitor nUnit extension

If you wish to customize the extension with non-default options (such as enabling file based logging) you can edit the settings file which will be located at addins/NUnit.Extension.TestMonitor/appsettings.json.

To confirm that your extension is recognized, you can check with the console runner using: nunit3-console.exe --list-extensions

Dotnet Test Configuration

If using the dotnet test command to run your tests you should add the Nuget package to your test project.

PM> Install-Package NUnit.Extension.TestMonitor

To customize settings for the extension, you can add an appsettings.json configuration file to your test project and it will be read by the nuget extension. It should contain the following section in the root of your settings file:

{
  "TestMonitor": {
    // the type of events to emit, can define multiple. Valid options: NamedPipes,StdOut,LogFile
    "EventEmitType": "NamedPipes,StdOut,LogFile",
    // format of the event data. Valid options: json, xml
    "EventFormat": "json",
    // full path to save the log to
    "EventsLogFile": "C:\\logs\\TestMonitor.log",
    // for EventEmitType=StdOut, choose which stream to use. Valid options: StdOut, Trace, Debug, None
    "EventOutputStream": "StdOut"
  }
}

Usage

This plugin offers an IPC/Named Pipes interface so that you may display or log tests in real-time.

Detailed examples will follow once this package is published.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 1,664 12/2/2021
1.0.55 260 11/1/2021
1.0.54 219 10/25/2021
1.0.53 220 10/25/2021
1.0.52 205 10/25/2021
1.0.51 214 10/20/2021
1.0.50 219 10/20/2021
1.0.48 2,130 10/19/2021
1.0.47 180 10/18/2021
1.0.46 6,995 4/14/2021
1.0.43 236 3/18/2021
1.0.23 383 2/18/2020
1.0.0 395 2/12/2020

Provides realtime test monitoring functionality to NUnit using IPC/Named Pipes, log files, or StdOut.