mpizenberg/elm-test-runner/6.0.0

NOTE: the latest version is 6.0.1

ElmTestRunner.Failure

Encode and decode test failures.

type alias Failure =
{ given : Maybe String
, description : String
, reason : Reason
}

Type resulting of calling Test.Runner.getFailureReason on a test Expectation.

decoder : Decoder Failure

Decode a Failure.

encode : Failure -> Value

Encode a Failure.