Test Suite » History » Version 6
« Previous -
Version 6/8
(diff) -
Next » -
Current version
Kornelius Kalnbach, 10/07/2010 02:09 AM
Test Suite¶
How to¶
You can run the CodeRay test suite if you have a UNIX with Subversion and Ruby. I assume you also have a color terminal then :P
svn co http://svn.rubychan.de/coderay/branches/0.9/ coderay cd coderay rake test
Wait for it to finish. Dots and green are good, while E's, F's, and red 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.
Screenshot¶
Yes, it's quite colorful :D