HUnit-Plus-0.3.0: A test framework building on HUnit.

Safe HaskellNone
LanguageHaskell2010

Test.HUnitPlus.Legacy

Description

The legacy test definitions for compatibility with the original HUnit library. These are not guaranteed to be compatible for all cases, but they should work for most. The Testable instance converts them into Distribution.TestSuite tests, with no tags.

These are deprecated in favor of the test definitions from the Cabal Distribution.TestSuite module, plus the TestSuite definition in Test.HUnitPlus.Base.

Synopsis

Documentation

data Test Source

The basic structure used to create an annotated tree of test cases.

Constructors

TestCase Assertion

A single, independent test case composed.

TestList [Test]

A set of Tests sharing the same level in the hierarchy.

TestLabel String Test

A name or description for a subtree of the Tests.

Instances