Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
Finally I'm getting around to writing unit tests in a Haskell project. :-D What is the recommended library/framework nowadays?
HUnit is advertised as "a unit testing framework for Haskell, inspired by the JUnit tool for Java", and I cringe at reading "Java"
I like hspec
hspec is pretty fun
hspec is the way to go
I would say the majority of people writing unit tests use it [citation needed]
I'm using hspec in my rib site @Sridhar Ratnakumar
I like tasty :embarrassed:
I used to use tasty, but I've converted all of my tests to hspec. Functionally they are really similar, but hspec just flows better
yeah. tasty requires updating a few disparate things every time you add a test
IME it's too easy to forget to add one and then wham! silently failing test (becaues it's not being run)
Finally I'm getting around to writing unit tests in a Haskell project. :-D What is the recommended library/framework nowadays?
HUnit is advertised as "a unit testing framework for Haskell, inspired by the JUnit tool for Java", and I cringe at reading "Java"
I like hspec
hspec is pretty fun
hspec is the way to go
I would say the majority of people writing unit tests use it [citation needed]
I'm using hspec in my rib site @Sridhar Ratnakumar
I like tasty :embarrassed:
I used to use tasty, but I've converted all of my tests to hspec. Functionally they are really similar, but hspec just flows better
yeah. tasty requires updating a few disparate things every time you add a test
IME it's too easy to forget to add one and then wham! silently failing test (becaues it's not being run)