Test.Runner.Browser
Define programs that run your tests and outputs the results in the browser.
type alias Program =
Program {} Model Msg
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.