This library aims to run and display tests as HTML on a web page, for example in order to create code kata.
One limitation to that is that you need to add your test dependencies as project dependencies.
Run and display test results
viewResults myConfig myTestsCreate a default config, initializing it with an initial seed used for fuzz testing.
Random.initialSeed 10000 |> defaultConfigSet the fuzz count in the Config. Should not be useful if you don't use fuzz testing.
Random.initialSeed 10000 |> defaultConfig |> withFuzzCount 50Indicates that the resulting HTML should show passed tests. This is the default behavior.
Random.initialSeed 10000 |> defaultConfig |> showPassedTestsIndicates that the resulting HTML should NOT show passed tests.
Random.initialSeed 10000 |> defaultConfig |> hidePassedTests
Config object used to define options like the fuzz count, the initial seed, whether or not the passed tests should be displayed...