[Haskell-cafe] ANNOUNCE: doctest-0.4.0

Simon Hengel simon.hengel at wiktory.org
Mon Jul 4 18:33:07 CEST 2011


I just uploaded a new version of doctest[1] to Hackage.


WHAT IS doctest?
================

doctest is a port of Python's doctest[2] to Haskell.  It can be used to
verify, that examples in Haddock comments[3] do still work.  This also
provides you with a simple mechanism to write unit test, without the
burden of maintaining a dedicated test suite.

A basic example of usage is at [4].


WHAT'S NEW IN THIS VERSION?
===========================

doctest's functionality is now exposed as a library, this allows for
integration with existing test frameworks.  Sakari Jokinen is working on
integration with test-framework[5].

Thanks to Sakari Jokinen for both, his contributions to the doctest API
and his work on test-framework-doctest!

Cheers,
Simon

[1] http://hackage.haskell.org/package/doctest
[2] http://docs.python.org/library/doctest.html
[3] http://www.haskell.org/haddock/doc/html/ch03s08.html#id566093
[4] https://github.com/sol/doctest-haskell#readme
[5] https://github.com/sakari/test-framework-doctest



More information about the Haskell-Cafe mailing list