| Copyright | (c) 2015-2017 Rudy Matela |
|---|---|
| License | 3-Clause BSD (see the file LICENSE) |
| Maintainer | Rudy Matela <rudy@matela.com.br> |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.FitSpec.Main
Contents
Description
Exports "main" functions for FitSpec.
They work exactly by report and reportWith but can be customized by
command line arguments.
main = mainWith args { ... } functions properties- mainWith :: (Mutable a, ShowMutable a) => Args -> a -> (a -> [Property]) -> IO ()
- defaultMain :: (Mutable a, ShowMutable a) => a -> (a -> [Property]) -> IO ()
- getArgs :: IO Args
- getArgsWith :: Args -> IO Args
- module Test.FitSpec.Report
Documentation
mainWith :: (Mutable a, ShowMutable a) => Args -> a -> (a -> [Property]) -> IO () Source #
Same as reportWith, but allow overriding of configuration via command
line arguments.
defaultMain :: (Mutable a, ShowMutable a) => a -> (a -> [Property]) -> IO () Source #
Same as report, but allow configuration via command line arguments.
module Test.FitSpec.Report