Skip to content

Instantly share code, notes, and snippets.

@rogeriochaves
Last active May 26, 2016 14:26
Show Gist options
  • Save rogeriochaves/3267bcf56c2449be1f21 to your computer and use it in GitHub Desktop.
Save rogeriochaves/3267bcf56c2449be1f21 to your computer and use it in GitHub Desktop.
module Example where
import ElmTestBDDStyle exposing (..)
import Check.Producer exposing (..)
tests : Test
tests =
describe "A Test Suite"
[ it "adds two numbers" <|
expect (3 + 7) toBe 10
, it "fails for non-sense stuff" <|
expect True toBe False
, itAlways "ends up with the same list when reversing twice" <|
expectThat
(\list -> List.reverse (List.reverse list))
isTheSameAs
(identity)
forEvery
(list int)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment