Safe Haskell | None |
---|---|
Language | Haskell98 |
Run a TestTree
and produce an HTML file summarising the test results.
- newtype HtmlPath = HtmlPath FilePath
- htmlRunner :: Ingredient
- newtype AssetsPath = AssetsPath FilePath
Documentation
Path where the HTML will be rendered.
htmlRunner :: Ingredient Source
To run tests using this ingredient, use defaultMainWithIngredients
,
passing htmlRunner
as one possible ingredient. This ingredient will run
tests if you pass the --html
command line option. For example,
--html=results.html
will run all the tests and generate results.html
as
output.
newtype AssetsPath Source
Path where external assets will be looked up
Typeable * AssetsPath | |
IsOption (Maybe AssetsPath) | Assets |