No description, website, or topics provided.
JavaScript Java Groovy
Switch branches/tags
Nothing to show
Pull request Compare This branch is 14 commits ahead, 86 commits behind jbehave:master.
Permalink
Failed to load latest commit information.
etsy-stories-groovy-pico
.gitignore first cut of Etsy.com tutorial Dec 14, 2010
README.md
pom.xml merged Oct 2, 2011

README.md

JBehave Tutorials

Using jbehave-core and jbehave-web against pre-existing website etsy.com

JBehave logo

Modules

Firstly, cd into etsy-stories-groovy-pico

This will run the build and (after a minute or so) Firefox will open and test the etsy.com website:

mvn install 

This will run a single story (one contained in a etsy_cart.story file):

mvn install -DstoryFilter=etsy_cart

This will run a suite based on the meta filters in the three story files:

mvn install -Dmeta.filter="+color red"

This will run tests in parallel in SauceLabs' stack:

(use YOUR details from YOUR SauceLabs.com account)

mvn install -DSAUCE_USERNAME=your_sauce_id -DSAUCE_ACCESS_KEY=your_sauce_access_key

Viewing the results

In a directory etsy-stories/target/view, a page named 'navigator.html' has been generated. If you open that in Firefox, Safari or Internet Explorer (but not Chrome), you can see the three stories that have run and their completion status.

Related

See also the jbehave-web sister project for web extensions to JBehave, and jbehave-tutorial for a decent example of JBehave testing of a web application.

License

See LICENSE.txt in the source root (BSD).