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 / plugin.xml
100755 24 lines (23 sloc) 0.987 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<plugin name='easybtest' version='0.3'>
  <author>Rodrigo Uruatan Ferreira Jardim</author>
  <authorEmail>blog@urubatan.com.br</authorEmail>
  <title>This plugin enables the testing of the application using the BDD easyb library</title>
  <description> 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
    }
    </description>
  <documentation>http://www.urubatan.info/tag/easyb-test/</documentation>
  <resources />
</plugin>