RubySpec
Specification tests for the Ruby programming language
The RubySpec project aimed to write a complete executable specification for the Ruby programming language. This project contains specs that describe Ruby language syntax and standard library classes. The project contains two main components:
- the RubySpec sources
- the MSpec framework
The RubySpec test suite captured most of 1.8.6/1.8.7/1.9 behavior as a reference conformance tool. Ruby MRI 1.9.2 passed over 99% of RubySpec, while version 2.2.0 crashed on one of the tests.
01History
The RubySpec tests were initially created in 2006 for the Rubinius project, with significant contribution from the JRuby project. It is now used in other Ruby implementation projects such as IronRuby. The RubySpec project was discontinued at the end of 2014 due to a lack of uptake from mainstream ruby developers.
It was later revived by Benoit Daloze as "The Ruby Spec Suite", and is as of 2025-02-10 actively maintained at https://github.com/ruby/spec.
Sources and credits
This article is adapted from the Wikipedia article “RubySpec”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.