JRubyAndRubySpecs

Thomas E Enebo edited this page Mar 21, 2016 · 8 revisions
Clone this wiki locally

JRuby uses the spec project for compatibility testing, along with our own (somewhat dated) suites of tests.

To run the tests

ant spec:ci_interpreted_19

or

ant spec:ci_interpreted_18

There are other ant tasks that can be used to run variations of the RubySpecs, which point to their equivalent Rake tasks.

We generally prefer that people adding new tests for Ruby behavior submit them to the RubySpec project, so that all Ruby implementations benefit from those additions. For more information on how to contribute to RubySpec, please visit the page below:

ruby/spec