Class Buildr::RSpec
In: lib/buildr/java/bdd.rb  (CVS)
Parent: TestFramework::JavaBDD

<a href="RSpecrspec.info">RSpec> is the defacto BDD framework for ruby. To test your project with RSpec use:

  test.using :rspec

Support the following options:

  • :gems — A hash of gems to install before running the tests.
                   The keys of this hash are the gem name, the value must be the required version.
    
  • :requires — A list of ruby files to require before running the specs
                   Mainly used if an rspec format needs to require some file.
    
  • :format — A list of valid Rspec —format option values. (defaults to ‘progress’)
  • :output — File path to output dump. @false@ to suppress output
  • :fork — Create a new JavaVM to run the tests on
  • :properties — Hash of properties passed to the test suite.
  • :java_args — Arguments passed to the JVM.

Methods

Included Modules

TestFramework::JRubyBased

Constants

TESTS_PATTERN = [ /_spec.rb$/ ]
OPTIONS = [:properties, :java_args]

Public Instance methods

[Validate]