Hierarchical test runner


Keywords
test, runner
Install
Install-Package Skimmia -Version 1.0.0

Documentation

Build status

skimmia.net

Hierarchical unit test runner for C#

Installation

Install-Package Skimmia.NUnit3 -Pre

Sample Usage (nUnit)

using NUnit.Framework;
using Skimmia.Core;

namespace Skimmia.NUnit3.Tests
{
    public class SampleTests
    {
        [Test, SkimmiaTest]
        public void SampleTest(SkimmaCallback when, SkimmaCallback then, SkimmaCallback it)
        {
            when("setting up", () =>
            {
                // Setup code

                it("asserts", () =>
                {
                    // Assertion code
                });

                it("asserts on a second thing", () =>
                {
                    // Assertion code
                });

                when("setting more stuff up", () => {
                    // More setup

                    it("asserts some more", () => {
                        // More asserts
                    });
                });
            });
        }
    }
}