Picon

ANNOUNCE: abacate and chuchu

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)


Gmane