doctest: Test interactive Haskell examples

[ library, mit, program, testing ] [ Propose Tags ]

The doctest program checks examples in source code comments. It is modeled after doctest for Python (http://docs.python.org/library/doctest.html).

Documentation is at https://github.com/sol/doctest-haskell#readme.

Versions [faq] 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.0.1, 0.6.1, 0.7.0, 0.8.0, 0.8.0.1, 0.9.0, 0.9.1, 0.9.2, 0.9.2.1, 0.9.3, 0.9.4, 0.9.4.1, 0.9.5, 0.9.5.1, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.10.1, 0.9.10.2, 0.9.11, 0.9.11.1, 0.9.12, 0.9.13, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.12.0, 0.13.0, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.0.1, 0.16.1, 0.16.2 (info)
Dependencies base (>=4.0 && <4.5), containers, directory, ghc (>=6.12 && <7.4), ghc-paths (==0.1.*), haddock (>=2.8 && <=2.9.2 || >=2.9.4 && <2.10), HUnit (==1.2.*), process [details]
License MIT
Copyright (c) 2009-2012 Simon Hengel
Author Simon Hengel <sol@typeful.net>
Maintainer Simon Hengel <sol@typeful.net>
Category Testing
Home page https://github.com/sol/doctest-haskell#readme
Bug tracker https://github.com/sol/doctest-haskell/issues
Source repo head: git clone https://github.com/sol/doctest-haskell
Uploaded by SimonHengel at Fri Jan 13 14:50:58 UTC 2012
Distributions Arch:0.16.2, Debian:0.16.0, Fedora:0.16.0.1, LTSHaskell:0.16.0.1, NixOS:0.16.2, Stackage:0.16.0.1
Executables doctest
Downloads 60735 total (1573 in the last 30 days)
Rating 2.5 (votes: 8) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-26 [all 6 reports]

Modules

  • Test
    • Test.DocTest

Downloads

Maintainer's Corner

For package maintainers and hackage trustees