Test.Runner.Node
Define programs that run your tests and outputs the results to the terminal.
An exit code of 1 will be set when there are failing tests.
type alias Program =
SimpleProgram {}
A value representing a test program.
run :
Test -> Program
Run a test suite using default options.
Customization
type alias Options =
{ runs : Int, seed : Seed }
Different options you can use to customize your test run.
runs
configures how many times afuzz
test is executed with different inputs.seed
is used to generate random input infuzz
tests. A test suite run with the same seed will generate the same fuzz values.
runWithOptions :
Options -> Test -> Program
Run a test suite using the provided options.