RSS Feed for This PostCurrent Article

Behavior Driven Development with easyb

easyb is a behavior driven development framework for the Java platform. By using a specification based Domain Specific Language, easyb aims to enable executable, yet readable documentation.

BDD principles support the notion of stories. Stories can be made up of scenarios that group specifications. The specifications are essential– they are essentially steps that are friendly to read. They are:

  • Given (a context)
  • When (something happens)
  • Then (something else happens)

E.g.

   1: scenario "customers should receive discounts", {
   2:  given "a shopping cart with 3 items"
   3:  when "a user checks out"
   4:  then "they should receive a 10% discount"
   5: }

Popularity: 1% [?]


Trackback URL


RSS Feed for This Post2 Comment(s)

  1. Sandra R | Sep 9, 2009 | Reply

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

  2. Tony | Jun 3, 2010 | Reply

    Nice blog!!

RSS Feed for This PostPost a Comment