Author: vborja
Date: Tue Sep 23 12:14:33 2008
New Revision: 698311
URL: http://svn.apache.org/viewvc?rev=698311&view=rev
Log:
Documented how to change JRuby and JtestR versions from build.yaml
Modified:
incubator/buildr/trunk/doc/pages/languages.textile
Modified: incubator/buildr/trunk/doc/pages/languages.textile
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/doc/pages/languages.textile?rev=698311&r1=698310&r2=698311&view=diff
==============================================================================
--- incubator/buildr/trunk/doc/pages/languages.textile (original)
+++ incubator/buildr/trunk/doc/pages/languages.textile Tue Sep 23 12:14:33 2008
@@ -338,6 +338,16 @@
Because of the use of JRuby, you will notice that running ruby tests is faster
when running Buildr on JRuby, as in this case
there's no need to run another JVM.
+When not running on JRuby, Buildr will download and install it unless you
specify a valid @JRUBY_HOME@ environment
+variable. Default installation directory is @~/.jruby@, you can change this by
setting @JRUBY_HOME@ to an empty directory.
+
+You can use the @build.yaml@ settings file to specify a particular version of
JRuby (defaults to @1.1.4@). For example:
+
+{{{!yaml
+jruby: 1.1.3
+}}}
+
+
h4. RSpec
"RSpec":http://rspec.info/ is the de-facto BDD framework for ruby. It's the
framework used to test Buildr itself.
@@ -372,6 +382,14 @@
To use this framework in your project you can select it with @test.using
:[EMAIL PROTECTED]
+You can use the @build.yaml@ settings file to specify a particular version of
JtestR (defaults to @0.3.1@). For example:
+
+{{{!yaml
+jtestr: 0.3.1
+}}}
+
+To customize TestNG/JUnit versions refer to their respective section.
+
When selected, Buildr will configure JtestR to use your project/testing
classpath and will search for
the following test patterns for each framework supported by JtestR: