class Buildr::Groovy::EasyB
EasyB is a Groovy based BDD framework. To use in your project:
test.using :easyb
This framework will search in your project for:
src/spec/groovy /*Story.groovy src/spec/groovy/ *Specification.groovy
Support the following options:
-
:format – Report format :txt or :xml, default is :txt
-
:properties – Hash of properties passed to the test suite.
-
:java_args – Arguments passed to the JVM.
Constants
- OPTIONS
- TESTS_PATTERN
- VERSION
Public Class Methods
dependencies()
click to toggle source
# File lib/buildr/groovy/bdd.rb, line 45 def dependencies @dependencies ||= ["org.easyb:easyb:jar:#{version}", 'org.codehaus.groovy:groovy:jar:1.5.3','asm:asm:jar:2.2.3', 'commons-cli:commons-cli:jar:1.0','antlr:antlr:jar:2.7.7'] end
version()
click to toggle source
# File lib/buildr/groovy/bdd.rb, line 41 def version Buildr.settings.build['jbehave'] || VERSION end