rogeriochaves / elm-test-bdd-style / ElmTestBDDStyle

BDD style functions for ElmTest

it : String -> Expectation -> Test

Describes a behaviour you expect from your code

expect : a -> Conjunction -> (b -> a -> Expectation) -> b -> Expectation

Expectation to actually run the test, it receives two values and try to match then with a matcher

to : Conjunction

Just a word to make it more idiomatic

toBe : Conjunction

Just a word to make it more idiomatic


type Conjunction
    = Word

Words just to make the tests more idiomatic