doctest
doctest copied to clipboard
--quiet
I'm using doctest and cabal-doctest w/ tasty-hunit like:
import Build_doctests (flags, module_sources, pkgs)
import Test.DocTest (doctest)
import Test.Tasty.HUnit (testCase)
doctests :: [TestTree]
doctests = helper <$> module_sources
where
helper name = testCase name (doctest (flags <> pkgs <> [name]))
The output from printing the summary makes the test suite summary kinda gross; it'd be nice if there were a flag to suppress it.