class Buildr::JBehave

JBehave is a Java BDD framework. To use in your project:

test.using :jbehave

This framework will search in your project for:

src/spec/java   /*Behaviour.java

JMock libraries are included on runtime.

Support the following options:

Constants

VERSION

Public Class Methods

dependencies() click to toggle source
Calls superclass method
# File lib/buildr/java/bdd.rb, line 298
def dependencies
  unless @dependencies
    super
    @dependencies |= ["org.jbehave:jbehave:jar:#{version}", 'cglib:cglib-full:jar:2.0.2'] +
                     JMock.dependencies + JUnit.dependencies
  end
  @dependencies
end
version() click to toggle source
# File lib/buildr/java/bdd.rb, line 294
def version
  Buildr.settings.build['jbehave'] || VERSION
end