rtfeldman/node-test-runner/2.0.1

NOTE: this package is not compatible with Elm 0.19.1

Test.Runner.Node

Node Runner

Runs a test and outputs its results to the console. Exit code is 0 if tests passed and 1 if any failed.

run : Emitter Msg -> Test -> Program Value

Run the test and report the results.

Fuzz tests use a default run count of 100, and an initial seed based on the system time when the test runs begin.

runWithOptions : Options -> Emitter Msg -> Test -> Program Value

Run the test using the provided options. If Nothing is provided for either runs or seed, it will fall back on the options used in run.