Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby -> Haskell Unit and Automated Acceptance Testing

I'm a programmer with a background in many languages, but most recently focused on Ruby/Rails and interested in learning some Haskell. I've done a bit of playing around in Closure as well (pretty basic stuff though).

My current preferred approach to developing a new Ruby application is to start with high-level tests in business-value language using something like Gherkin/Cucumber and then develop smaller-scale components using something like RSpec or Minitest. What is (currently) the most common similar tool-set and strategy for developing a new Haskell application?

Responders: Please be patient waiting for up-votes & answer acceptance from me. I'll have to actually do some work in Haskell in order to make any assessments. Thanks.

like image 650
Steve Jorgensen Avatar asked Dec 25 '22 22:12

Steve Jorgensen


1 Answers

Typically the source of truth in a Haskell app is the type system. You use quickcheck and hspec to increase assurance that your code does what you think, but it's just an aid.

like image 50
Mark Wotton Avatar answered Jan 13 '23 11:01

Mark Wotton