* Gianfranco Alongi <gianfranco.alo...@gmail.com> [2012-10-05 06:57:41+0200] > I'm a big fan of TDD and tend to approach all languages by learning > how to TDD in them. > > As such, you mention that this is similar, could you please send some > links about this?
Sorry, I'm not sure I understand the question. Links about what? The library documentation is available on Hackage (the first link below). If you're asking about TDD in Haskell in general, I doubt I can tell you anything that Google can't. Roman > On Thu, Oct 4, 2012 at 11:55 PM, Roman Cheplyaka <r...@ro-che.info> wrote: > > I am glad to announce the first public release of test-framework-golden — a > > golden testing library. > > > > Hackage: http://hackage.haskell.org/package/test-framework-golden > > GitHub: https://github.com/feuerbach/test-framework-golden > > > > Golden tests are similar to unit tests (as implemented in HUnit), but the > > idea > > is to store the expected result in files (called «golden» files). > > > > I was introduced to the idea of golden testing by Bohdan Vlasyuk at ZuriHac > > in > > 2010. Since then I've discovered that this is a nice approach and it is > > already > > used in variety of projects (e.g. ghc, haddock). > > > > Surprisingly, not much is written about golden testing, and I've been > > unable to > > find any golden testing libraries for Haskell or any other programming > > language. > > Every project has its own ad-hoc implementation in Haskell/Python/Shell/etc. > > > > The closest match on the market is Simon Michael's shelltestrunner. But to > > use > > it you have to expose the tested functionality via command line, which may > > be > > inconvenient. > > > > So this is my attempt at a general golden testing library. > > > > It consists of two modules. > > Test.Golden has a simple interface that helps you get started very quickly. > > Test.Golden.Advanced provides a very generic testing function that you can > > use > > to implement the testing system you dream about. > > > > The library is integrated with test-framework, so you can use golden tests > > in > > addition to SmallCheck/QuickCheck/HUnit tests. > > > > In future there's a plan to support some golden test management > > capabilities. > > > > Roman > > > > _______________________________________________ > > Haskell-Cafe mailing list > > Haskell-Cafe@haskell.org > > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe