Enables BDD testing with Easyb
Plugin page: http://artifacts.griffon-framework.org/plugin/easyb
The Easyb project has excellent documentation to get you started writing stories.
Tests are run just like normal Griffon tests via grails
test-app. A new easyb test type is added to the unit,
integration and functional phases. You can use the Griffon 0.9 test type targeting feature to run only your Easyb tests…
griffon test-app :easyb
Class names of Easyb tests must end in Story; otherwise the Griffon test runner won't find them.
- create-unit-story - creates a new Unit story. Mimics GriffonUnitTestCase
- create-integration-story - creates a new Integration story. Mimics a regular JUnit integration test