Generate driver file for doctest's cabal integration

Version on this page:
LTS Haskell 11.1:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots doctest-driver-gen appears in

BSD3 licensed by Hexirp
Maintained by

Module documentation for


Hackage version Build Status Stackage LTS Stackage Nightly

doctest-driver-gen is a doctest's driver file generator. It lets you automatically generate driver file for doctest's cabal integration.


{-# OPTIONS_GHC -F -pgmF doctest-driver-gen [-optF DOCTEST_OPTION]... #-}

Make your driver file with the content.


This package was motivated by doctest-discover. I want a simpler doctest's driver file generator.


Changelog for doctest-driver-gen

  • Update build-depends to allow base-

  • Add ddgen_run.
  • Update ddgen_output to reduce arguments for simplicity.
  • Update build-depends to allow doctest-0.14.

  • Update build-depends to be strict. (Initial)

  • Add a executable program: doctest-driver-gen.
  • Add Test.DocTest.Gen, ddgen, ddgen_output, and ddgen_usage.
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus