13 Aug 2012 16:21
ANNOUNCE: abacate and chuchu
Marco TĂșlio Pimenta Gontijo <marcotmarcot <at> gmail.com>
2012-08-13 14:21:04 GMT
2012-08-13 14:21:04 GMT
Hi. I'm pleased to announce the first release of Abacate and Chuchu. Chuchu is a port of Ruby's Cucumber to Haskell, and Abacate is a parser for the Gherkin language, used by Cucumber. According to their web site, "Cucumber lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid - all rolled into one format." For more information on Cucumber: http://cukes.info/ Example of usage for a stack calculator: calculator.feature: Feature: Division In order to avoid silly mistakes Cashiers must be able to calculate a fraction Scenario: Regular numbers Given that I have entered 3 into the calculator And that I have entered 2 into the calculator When I press divide Then the result should be 1.5 on the screen calculator.hs: import Control.Applicative import Control.Monad.IO.Class(Continue reading)
RSS Feed