[Haskell-cafe] HSpec vs Doctest for TDD

Bardur Arantsson spam at scientician.net
Wed Jun 25 17:01:24 UTC 2014


On 2014-06-25 18:28, Bardur Arantsson wrote:
> On 2014-06-24 22:55, Gautier DI FOLCO wrote:
>> Hi all,
>>
>> I'm a huge fan of TDD (Test-Driven Development) et I used to use tools such
>> as RSpec (Ruby). So naturally, I looked to HSpec, but it seems not
>> idiomatic in Haskell.
>> I have a bunch of questions:
>> - Do you do TDD?
>> - Which tools do you use?
>> - Is doctest "better" (in some senses) than HSpec? Why?
>> - Are HSpec and Doctest complementary? If so, in which case do you use one
>> or another?
>> - Is there some Haskell-specific good practices do to TDD?
>>
>> Thanks in advance for your lights.
>>
> 
> I suspect most people practice "the other TDD", namely *Type*-Directed
> Development.

*"most people around here practice"




More information about the Haskell-Cafe mailing list