This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Small assertion and report library
version 1.0.0
license BSD3
native-modules False
elm-version 0.16.0 <= v < 0.17.0
Tag 1.0.1
Committed At 2016-01-28 20:42:41 UTC
evancz/elm-html 4.0.2 <= v < 5.0.0 4.0.2
elm-lang/core 3.0.0 <= v < 4.0.0 3.0.0

Modules

README

Assert

Tiny x-unit like testing library.

import Assert exposing (report, suite, test)

main =
  report "My App" 
    [ suite "Testing Strings" 
      [ test "values are equal" "ok" "ok"
      , test "values are not equal" "bla" "ble"
      , test "records" {a = 1} {a = 1}
      , test "records failing" {a = 1} {a = 2}
      ]
    ]

This will generate a report HTML like the following:

Assert Report