tag:blogger.com,1999:blog-7094652.post1344663977678332468..comments2024-03-23T14:36:09.980+00:00Comments on Neil Mitchell's Blog (Haskell etc): The Test MonadNeil Mitchellhttp://www.blogger.com/profile/13084722756124486154noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7094652.post-14455645395689396392007-06-12T09:20:00.000+01:002007-06-12T09:20:00.000+01:00Hi Neil - Ok, thanks very much! - andyHi Neil - <BR/>Ok, thanks very much! <BR/> <BR/>- andyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7094652.post-63367399249803197482007-06-11T10:26:00.000+01:002007-06-11T10:26:00.000+01:00Andy: I'm posting it to my blog in the hope it may...Andy: I'm posting it to my blog in the hope it may be useful to someone. Consider it public domain, or BSD licensed as suits you.Neil Mitchellhttps://www.blogger.com/profile/13084722756124486154noreply@blogger.comtag:blogger.com,1999:blog-7094652.post-61537679656776897302007-06-11T09:38:00.000+01:002007-06-11T09:38:00.000+01:00This is a nice bit of code. I'm just getting into ...This is a nice bit of code. <BR/>I'm just getting into Haskell but I'm very impressed by its elegance, and this is a good example of it. <BR/> <BR/> Oh, just one other thing I was wondering - what license is the "test monad" code under? Is it public-domain? <BR/>- AndyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7094652.post-34904125108538195262007-06-09T11:22:00.000+01:002007-06-09T11:22:00.000+01:00Anon: It depends on your testing method - I prefer...Anon: It depends on your testing method - I prefer to keep a list of things that don't work separately, and have a failing test be an indicator that "the world is falling down". I know some people (Pugs) do test-driven development, where they write failing tests, then gradually try to make them pass - but that doesn't suit me.Neil Mitchellhttps://www.blogger.com/profile/13084722756124486154noreply@blogger.comtag:blogger.com,1999:blog-7094652.post-41514028270237687052007-06-09T02:51:00.000+01:002007-06-09T02:51:00.000+01:00In most of the testing philosophy I've read, and p...In most of the testing philosophy I've read, and practice has reinforced the idea, that independent tests are the ideal. That said, stopping when the first test fails might not be ideal behavior.Anonymousnoreply@blogger.com