Hacker News new | ask | show | jobs
by wolverian 6266 days ago
Does the regular Ruby use RubySpec when you run "make test" or such?

Perl 6 does separate the specification from the implementations.

1 comments

Yes.

http://svn.ruby-lang.org/repos/ruby/trunk/Makefile.in

Find "test-rubyspec".

It even `git clone`s rubyspec if you ask it to (update-rubyspec).

Thanks, good to know.
Now, granted early 1.8's tests were sparse. RubySpec is a by-product of the alternative implementations and a couple of test attempts (http://blog.headius.com/2008/05/rubyspec-bringing-ruby-test-...).

A lot of developers continue to use MRI 1.8 despite 1.9.1 being out due to API changes. So you could still make the case that the main interpreter being used was at one point not well tested. However, forward progress in the language is tested, so there's nothing really to be remedied.