deadfoxygrandpa/elm-test/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

ElmTest.Test

The units of a test suite, named tests.

Test

type Test
= TestCase String Assertion
| Suite String (List Test)

A test case or a suite.

test : String -> Assertion -> Test

Basic function to create a Test Case

equals : a -> a -> Test

Convenience function for quickly constructing Assert Equals tests.

defaultTest : Assertion -> Test

Automatically determines a name for the created test (use this if you're lazy).

suite : String -> List Test -> Test

Convert a list of Tests to a Suite. Test suites are used to group tests into logical units, simplifying the management and running of many tests. The String is the name of the Suite.

Undocumented

numberOfTests : Test -> Int
numberOfSuites : Test -> Int