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
easybtest / README
100644 20 lines (16 sloc) 0.683 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/