mvz/ripper_ruby_parser — pull request #1 by brynary (2012-05-07 04:04:40+00:00)
Title: Run ParseTreeTestCase tests

ParseTreeTestCase (included in sexp_processor) has a ton of very detailed tests for RubyParser and the expected Sexps to be generated for various snippets of Ruby code.

This pull request sets up the rippper_ruby_parser test suite to run them. It will run the 1.8+1.9 tests and also the 1.9 specific tests, but not the few 1.8-specific tests. Current results are:

388 tests, 1837 assertions, 57 failures, 8 errors, 6 skips

It would be great to get ripper_ruby_parser passing the rest of these tests, as that would come as close as possible to guarantee RubyParser backwards compatibility. If anyone is interested in doing that work, I'd be up for sponsoring it!

-Bryan