urubatan / easybtest
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.classpath | Fri Apr 04 10:50:17 -0700 2008 | |
| |
.project | Mon Mar 31 16:36:00 -0700 2008 | |
| |
EasybtestGrailsPlugin.groovy | Tue Apr 22 08:47:51 -0700 2008 | |
| |
README | Tue Apr 22 09:00:08 -0700 2008 | |
| |
application.properties | Mon Mar 31 16:36:00 -0700 2008 | |
| |
build.xml | Mon Mar 31 16:36:00 -0700 2008 | |
| |
easybtest.launch | Mon Mar 31 16:36:00 -0700 2008 | |
| |
easybtest.tmproj | Mon Mar 31 16:36:00 -0700 2008 | |
| |
grails-easybtest-latest.zip | Tue Apr 22 08:47:51 -0700 2008 | |
| |
lib/ | Fri Apr 04 10:25:51 -0700 2008 | |
| |
plugin.xml | Tue Apr 22 08:47:51 -0700 2008 | |
| |
scripts/ | Mon Apr 07 06:34:36 -0700 2008 | |
| |
test/ | Fri Apr 04 10:25:51 -0700 2008 | |
| |
web-app/ | Mon Mar 31 16:36:00 -0700 2008 |
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/
