This repository was archived by the owner on Dec 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
This plugin will enable the use of Easyb to write Behavior driven Tests in a grails application.
License
urubatan/easybtest
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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/
About
This plugin will enable the use of Easyb to write Behavior driven Tests in a grails application.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published