Logo

Automated
Acceptance Testing with
Style

  • Home
  • OVERVIEW
    • Credits
  • DOWNLOADS
  • DOCUMENTATION
  • Learn
  • Wakaleo
    • About Us
    • Contact Us
  • HELP
Tool Integration
  • JUnit
  • JBehave
  • EasyB
  • JIRA
Tags
atdd bdd jbehave selenium web testing
Sample Reports
Home EasyB

Easyb Integration

Details
Aug15
Written by Super User

Easyb (http://easyb.org) is a Groovy-based BDD tool. It makes it easy to write light-weight stories and scenarios using the classic BDD-style "given-when-then" structure, and then to implement them in Groovy. The Thucydides easyb plugin is designed to make it easy to write Thucydides tests using easyb.

In easyb, stories are written in Groovy. Unlike with JBehave, easyb stories contain both the text for each step, and the first level of implementation. For example, a simple easyb story is shown here:

using "thucydides"
import net.thucydides.demos.jobboard.requirements.Application.ManageCategories.AddNewCategory 

thucydides.tests_story AddNewCategory 

scenario "The administrator adds a new category to the system", { 
    given "a new category needs to be added to the system" 
    when "the administrator adds a new category"     
    then "the system should confirm that the category has been created" 
    and "the new category should be visible to job seekers" 
} 

scenario "The administrator adds a category with an existing code to the system", { 
    given "the administrator is on the categories list page" 
    when "the user adds a new category with an existing code" 
    then "an error message should be displayed" }

You can learn more about the Thucydides easyb integration in the User's Manual.

  • Next >
Events
More News
  • JavaOne 2012: Behavior-Driven Development on the JVM: A State of the Union

    Super User -Fri, Aug, 2012

Documentation
  • Official Thucydides Blog
  • Thucydides on Github
  • Thucydides User Manual
  • The Thucydides Company
Thucydides Release 0.8.31 - enhancements and bug fixes
Aug 03
Thucydides Release 0.8.31 is primarily a bug fix and enhancement release but goes a long way in making Thucydides more robust. We have added a couple of minor features and fixed issues related with... Read More...

Help and Support

...

Copyright © 2007 - 2012 Wakaleo Consulting

Thucydides development is lead and supported by Wakaleo Consulting,
a Sydney-based company that helps organisations optimize their software
development process. We provide consulting, training and mentoring
services in Agile Development Practices such as Continuous Integration,
Test-Driven Development, Acceptance-Test Driven Development,
Build Automation, Code Quality Practices and Automated Web Testing.

  • Home
  • OVERVIEW
  • DOWNLOADS
  • DOCUMENTATION
  • Learn
  • Wakaleo
  • HELP