deadfoxygrandpa/elm-test/1.1.0

NOTE: this package is not compatible with Elm 0.19.1

ElmTest.Run

Basic utilities for running tests and customizing the output. If you don't care about customizing the output, instead look at the runDisplay series in ElmTest.Runner

Run

type Result
= Pass String
| Fail String String
| Report String Summary

Test result

run : Test -> Result

Run a test and get a Result

pass : Result -> Bool

Transform a Result into a Bool. True if the result represents a pass, otherwise False

fail : Result -> Bool

Transform a Result into a Bool. True if the result represents a fail, otherwise False

Undocumented

failedTests : Result -> Int

Undocumented.

passedTests : Result -> Int

Undocumented.

failedSuites : Result -> Int

Undocumented.

passedSuites : Result -> Int

Undocumented.