[Haskell-cafe] Test Framework, HUnit

spopejoy spopejoy at panix.com
Wed Oct 22 21:01:10 UTC 2014


Jan Stolarek <jan.stolarek <at> p.lodz.pl> writes:

> 
> I believe test-framework has been abandoned. Use tasty instead.
> 
> Janek
> 
> Dnia środa, 22 października 2014, spopejoy napisał:
> > Hi,
> >
> > I started using Test Framework following the example of the lens library,
> > specifically using Test.Framework.TH. It looks really nice, however I
> > noticed that the TH project hasn't had any activity in 2 years ... plus the
> > whole test framework project is very light on docs.
> >
> > I've been happy with straight HUnit, but I'm wanting something more
> > structured to bring others into the project I'm working on.
> >
> > 1) Are there more resources on TF?
> > 2) Is TF-TH actively maintained?
> >
> > Cheers,
> > Stuart
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe <at> haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe <at> haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 

Hmm ... Tasty's cool but there's some funny business:

* What's up with "Exception: ExitSuccess"? Why does a test framework need to
throw an exception to exit?
* Why does Tasty rewrite HUnit? They left out some nice features, like the
(~:) operator, allowing quick suite authoring a la 'test = "foo" ~: [ bar
@?= baz]' ...

Cheers,
Stuart





More information about the Haskell-Cafe mailing list