Class | Buildr::JtestR |
In: |
lib/buildr/java/bdd.rb
(CVS)
|
Parent: | TestFramework::JavaBDD |
<a href="JtestRjtestr.codehaus.org/">JtestR> is a framework for BDD and TDD using JRuby and ruby tools. To test your project with JtestR use:
test.using :jtestr
Support the following options:
The keys of this hash are the gem name, the value must be the required version.
Mainly used if an rspec format needs to require some file.
VERSION | = | '0.6' | ||
STORY_PATTERN | = | /_(steps|story)\.rb$/ | pattern for rspec stories | |
TESTUNIT_PATTERN | = | /(_test|Test)\.rb$|(tc|ts)[^\\\/]+\.rb$/ | pattern for test_unit files | |
EXPECT_PATTERN | = | /_expect\.rb$/ | pattern for test files using expectations.rubyforge.org/ | |
TESTS_PATTERN | = | [STORY_PATTERN, TESTUNIT_PATTERN, EXPECT_PATTERN] + RSpec::TESTS_PATTERN |