doctest-driver-gen

Generate driver file for doctest's cabal integration

https://github.com/Hexirp/doctest-driver-gen#readme

Version on this page:0.3.0.7
LTS Haskell 22.43:0.3.0.8
Stackage Nightly 2024-12-04:0.3.0.8
Latest on Hackage:0.3.0.8

See all snapshots doctest-driver-gen appears in

BSD-3-Clause licensed by Hexirp
Maintained by https://github.com/Hexirp/doctest-driver-gen/issues
This version can be pinned in stack with:doctest-driver-gen-0.3.0.7@sha256:9231f3dcee25b96ea15dc715a004c6e899f797e2fa6a3d00331ed38098246b49,2370

Module documentation for 0.3.0.7

Used by 1 package in lts-20.26(full list with versions):

doctest-driver-gen

Hackage version 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.

Versions of doctest available in this library: >= 0.7 && < 0.12 || >= 0.13 && < 0.22

Usage

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

Make your driver file with the content. There is an example:

{-# OPTIONS_GHC -F -pgmF doctest-driver-gen -optF src -optF app #-}

Motivation

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

Changes

Changelog for doctest-driver-gen

0.3.0.7

  • Update build-depends to allow base-4.18.0.0.

0.3.0.6

  • Update build-depends to allow base-4.17.0.0.

0.3.0.5

  • Update build-depends to allow base-4.16.0.0.

0.3.0.4

  • Update build-depends to allow base-4.15.0.0.

0.3.0.3

  • Update build-depends to allow base-4.14.0.0.

0.3.0.2

  • Update build-depends to allow base-4.13.0.0.

0.3.0.1

  • Add build-tool-depends to make stack test work normally (contribution by qrilka).

0.3.0.0

  • Update the template file (in ddgen_output) to consider to NoImplicitPrelude.
  • Fix the build fail when GHC’s version is less than 8.0.x.

0.2.0.4

  • Update build-depends to allow base-4.12.0.0.

0.2.0.3

  • Update build-depends to allow doctest-0.16.0.0.

0.2.0.2

  • Update build-depends to allow doctest-0.15.0.0.

0.2.0.1

  • Update build-depends to allow base-4.11.0.0.

0.2.0.0

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

0.1.0.1

  • Update build-depends to be strict.

0.1.0.0 (Initial)

  • Add a executable program: doctest-driver-gen.
  • Add Test.DocTest.Gen, ddgen, ddgen_output, and ddgen_usage.