This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
Experimental alternative for writing unit tests
version 2.0.0
license MIT
native-modules False
elm-version 0.17.0 <= v < 0.18.0
Tag 2.0.0
Committed At 2016-05-21 06:12:07 UTC
elm-lang/core 4.0.0 <= v < 5.0.0 4.0.5
avh4/elm-diff 1.0.7 <= v < 2.0.0 1.0.7

README

Experimental alternative for writing unit tests

import Spec.Runner.Console as Console
import Spec exposing (..)

allTests = 
  describe "Addition"
    [ it "is commutative" [ (1+2) `shouldEqual` (2+1) ]
    , it "is associative" [ ((1+2)+3) `shouldEqual` (1+(2+3)) ]
    ]

testRunner : String
testRunner = Console.run allTests