public
Description: This plugin will enable the use of Easyb to write Behavior driven Tests in a grails application.
Homepage: http://www.urubatan.info/tag/easyb-test/
Clone URL: git://github.com/urubatan/easybtest.git
urubatan (author)
Tue Apr 22 09:00:08 -0700 2008
commit  8bea5c79b53d6b29a2ee513f08b41118a44997df
tree    10b72913a53acaeb9bd167ad78dc61b210366936
parent  55d1e23d63d5e54f84f09142fc37a166cad67684
name age message
file .classpath Loading commit data...
file .project Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
file EasybtestGrailsPlugin.groovy
file README
file application.properties Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
file build.xml Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
file easybtest.launch Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
file easybtest.tmproj Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
file grails-easybtest-latest.zip
directory lib/ Fri Apr 04 10:25:51 -0700 2008 there is still hope, running tests in the grail... [urubatan]
file plugin.xml
directory scripts/
directory test/
directory web-app/ Mon Mar 31 16:36:00 -0700 2008 initial commit [urubatan]
README
This plugin enables the use of Behavior Driven Development to test your Grails Application,
The library behind this is easyb, easyb is a BDD library written in groovy.
For example, you can test your app like this:

given "an invalid zip code", {
  invalidzipcode = "221o1"
}
and "given the zipcodevalidator is initialized", {
  zipvalidate = new ZipCodeValidator()
}
when "validate is invoked with the invalid zip code", {
  value = zipvalidate.validate(invalidzipcode)
}
then "the validator instance should return false", {
  value.shouldBe false
}


You can find more information about this plugin and latest released in the following URL: 
http://www.urubatan.info/tag/easyb-test/