Hacker News new | past | comments | ask | show | jobs | submit login

Does the regular Ruby use RubySpec when you run "make test" or such?

Perl 6 does separate the specification from the implementations.




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.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: