Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--quiet #265

Open
remexre opened this issue Apr 20, 2020 · 0 comments
Open

--quiet #265

remexre opened this issue Apr 20, 2020 · 0 comments

Comments

@remexre
Copy link

remexre commented Apr 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants