ClUnit 1.2.0

dotnet add package ClUnit --version 1.2.0
NuGet\Install-Package ClUnit -Version 1.2.0
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="ClUnit" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClUnit --version 1.2.0
#r "nuget: ClUnit, 1.2.0"
#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 ClUnit as a Cake Addin
#addin nuget:?package=ClUnit&version=1.2.0

// Install ClUnit as a Cake Tool
#tool nuget:?package=ClUnit&version=1.2.0

ClUnit

ClUnit is an NUnit extension for command line interfaces (CLIs). With ClUnit, you can easily create and run unit tests for your CLIs, ensuring that they are reliable and perform as expected.

Features

  • Support for asserting the expected output and return code of your CLI.

Getting Started

When using the nuget package:

using NUnit;
using ClUnit;

namespace ClExample;

public class MyTestClass
{
    [Test]
    public void Test()
    {
        CommandLine.AssertSuccess("git init");
    }
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ClUnit:

Package Downloads
ClUnit.Runner

Console application for executing ClUnit tests.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 293 12/13/2022
1.1.1 297 12/13/2022
1.1.0 331 12/12/2022
1.0.3 391 12/11/2022
1.0.2 337 12/11/2022
1.0.1 456 12/11/2022
1.0.0 303 12/11/2022

Change to NUnit extension.