Module: Buildr::JMock

Defined in:
lib/buildr/java/tests.rb

Overview

JMock is available when using JUnit and TestNG, JBehave.

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.dependenciesObject



104
105
106
# File 'lib/buildr/java/tests.rb', line 104

def dependencies
  @dependencies ||= ["jmock:jmock:jar:#{version}"]
end

.versionObject



100
101
102
# File 'lib/buildr/java/tests.rb', line 100

def version
  Buildr.settings.build['jmock'] || VERSION
end