This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 2.0.1
Committed At 2018-12-31 02:39:42 UTC




    elm-package CircleCI

    Extra expectations, fuzzers, testers and describers.

    elm package install ktonon/elm-test-extra

    Example: Describing JSON Decoders

    Write concise test for JSON decoders.

    Use the high level describeDecoder to quickly write tests that exercise a Json.Decode.Decoder. For example,

    describeDecoder "int"
      [ ( "", FailsToDecode )
      , ( "\"foo\"", FailsToDecode )
      , ( "1", DecodesTo 1 )
      , ( "1.5", FailsToDecode )
      , ( "\"this-will-fail\"", DecodesTo 5)

    In this example, the last test will fail, giving helpful feedback:

    ↓ int
    ✗ this-will-fail DecodesTo 5
    Expected input:
    to decode successfully, but instead it failed with message:
      Problem with the given value:
    Expecting an INT