Test.Runner.String

String Runner

Run a test and present its results as a nicely-formatted String, along with a count of how many tests passed and failed.

type alias Summary =
{ output : String, passed : Int, failed : Int, autoFail : Maybe String }

The output string, the number of passed tests, and the number of failed tests.

runWithOptions : Int -> Seed -> Test -> Summary

Run a test and return a Summary.