/ClUnit

Primary LanguageC#GNU General Public License v2.0GPL-2.0

This project has been discontinued

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");
    }
}