Fuchu Testing Framework

Overview

Qualified supports the Fuchu testing framework for F#. Fuchu is only available in the F# 4.0 environment. Use NUnit for F# 6.0.

Basic Example

Solution

let add a b = a + b

Tests

module Tests = begin
    open Fuchu
    let suite =
        testList "Add" [
            testCase "Adds two numbers" <|
                fun _ ->
                    Assert.Equal("add(1, 1) == 2", 2, add 1 1)
        ]
end