You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nathan Youngman edited this page Oct 27, 2012
·
2 revisions
How to
You can run the CodeRay test suite if you have Ruby, Bundler, Git, and Subversion. I assume you also have a color terminal then :P
git clone git://github.com/rubychan/coderay.git
cd coderay
Run the basic test suite:
rake
and the scanner tests (will download from separate repository):
rake test:scanners
Wait for it to finish. Dots are good, E’s and F’s are bad. (Segmentation fault is very bad.)
Relevance
CodeRay has an extensive test suite with megabytes of example code. It is a nice target for Ruby implementations, since it stresses the possibilities of StringScanner and RegExp (as of Ruby 1.8) to the max.
It is also a nice benchmark, and has been used by the JRuby team and others to compare Ruby implementations.