NUnit.Extension.TestMonitor 1.0.46

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.46                
NuGet\Install-Package NUnit.Extension.TestMonitor -Version 1.0.46                
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.46" />                
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.46                
#r "nuget: NUnit.Extension.TestMonitor, 1.0.46"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.46

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

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 4,733 12/2/2021
1.0.55 439 11/1/2021
1.0.54 380 10/25/2021
1.0.53 376 10/25/2021
1.0.52 360 10/25/2021
1.0.51 369 10/20/2021
1.0.50 357 10/20/2021
1.0.48 2,288 10/19/2021
1.0.47 343 10/18/2021
1.0.46 7,182 4/14/2021
1.0.43 387 3/18/2021
1.0.23 551 2/18/2020
1.0.0 557 2/12/2020

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