[Haskell-cafe] ANNOUNCE: tasty, a new testing framework

Carter Schonwald carter.schonwald at gmail.com
Mon Aug 5 22:58:37 CEST 2013


fair enough. I take it that you're also (implicitly) committing to
maintaining this for the next few years? :)


On Mon, Aug 5, 2013 at 4:02 PM, Roman Cheplyaka <roma at ro-che.info> wrote:

> * Andrey Chudnov <achudnov at gmail.com> [2013-08-05 15:31:16-0400]
> > On 08/05/2013 02:48 PM, Roman Cheplyaka wrote:
> > >(which is unmaintained).
> >   Has this been confirmed by the author/maintainer?
>
> I've sent a couple of emails to Max (one in January, one in April) and
> haven't heard anything from him. My patches, which he applied in
> January, are still not released. That's why I regard test-framework as
> unmaintained.
>
> You can also make your own impression by browsing github (commit
> activity, outstanding pull requests, open issues...)
>
> > Is it a drop-in replacement for test-framework, e.g. if I substitute
> > "test-framework" for "tasty" in my .cabal files, will it work?
> > If not, could you provide a quick guide for porting?
>
> Not quite.
>
> At the very least, you'll have to change module names
> (Test.Framework -> Test.Tasty,
>  Test.Framework.Providers.HUnit -> Test.Tasty.HUnit, ...),
> and wrap the top-level list of tests into a testGroup.
>
> If you have type signatures, you'll need to rename Test to TestTree.
>
> That should be enough in most cases. If you use plusTestOptions, you'll
> need to look up appropriate functions from Test.Tasty.Options.
>
> > Also, is the
> > current version (0.1) recommended for general use?
>
> I'd love to see people using it. But you should treat this as beta
> software. I am in the process of migrating my own packages to use Tasty.
>
> Roman
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130805/fa55c2a3/attachment.htm>


More information about the Haskell-Cafe mailing list