.NET Framework Test Library - Automated Testing Tool

A lightweight, flexible testing library for .NET Framework applications.

This library gives you a simple, reliable mechanism for implementing automated tests across your software projects. Whether you're testing internal application logic, validating database operations, or exercising web APIs, the library provides a clean structure for building and running repeatable tests without the overhead of a full testing framework.

Designed for developers who want clarity and control, it supports unlimited tests, custom test apps, and clear visual feedback on test results.

Features

  • Standard assertion commands for validating expected behaviour
  • Create your own test application tailored to your project
  • Sample test app included to help you get started quickly
  • Unlimited tests with no artificial restrictions
  • Organise tests into sections and categories for clarity
  • Visual pass/fail indicators for fast interpretation
  • Output additional diagnostic information during test execution
  • Run individual tests or full test suites
  • Support for setup and cleanup routines per test

.NET Test Library Main Window

What You Can Test

  • Internal logic within .NET Framework applications
  • Web APIs and service endpoints
  • Database operations and queries
  • Any custom logic where automated verification is useful

Why Developers Choose This Library

It's straightforward, predictable, and easy to integrate. You get the structure of a test framework without the complexity of larger ecosystems, making it ideal for internal tools, legacy systems, or environments where you want full control over how tests run.

Usage

using System;
using System.Collections.Generic;
using TestLibraryCS;
using System.Threading;

namespace SampleApp.UnitTests
{
    class SampleTest : UnitTestItem
    {
        public SampleTest()
        {
            this.UnitTestName = "Sample Test";

            this.TestFunction = new UnitTestFunction(testFunction);
        }

        public override void CleanUp()
        {
            this.DoInfo("Cleaning up...");
        }

        void testFunction(UnitTestItem Item)
        {
            // perform the tests
            bool boolVal = true;
            this.Assert(boolVal == true);
            this.Assert(boolVal != false);

            int divisionVal = 0;
            this.AssertThrow(delegate { int a = 1 / divisionVal; }, typeof(Exception));

            this.AssertNoThrow(delegate { int a = 1 / 1; });
        }
    }
}

.NET Frameworks Supported

v2.0 - v9
Any CPU, 32-bit, & 64-bit

Purchase

Users Price
1 - 5 £ 49.99 each
6 - 25 £ 44.99 each
26+ £ 39.99 each
Source Code £ 499.99

Alternatively, please email sales@anbsoftware.co.uk to request a quote and to send a purchase order (PO).