HOME

TheInfoList



OR:

The RubySpec project aimed to write a complete executable specification for the
Ruby programming language Ruby is a general-purpose programming language. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types. It was developed in the mid-1990s by Yukihiro "Mat ...
. This project contains specs that describe Ruby language syntax and
standard library In computer programming, a standard library is the library (computing), library made available across Programming language implementation, implementations of a programming language. Often, a standard library is specified by its associated program ...
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.


History

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 IronRuby is an implementation of the Ruby programming language targeting Microsoft .NET Framework. It is implemented on top of the Dynamic Language Runtime (DLR), a library running on top of the Common Language Infrastructure that provides dynam ...
. 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 2023-08-15 actively maintained at https://github.com/ruby/spec.


References

Free software programmed in Ruby Ruby (programming language) {{prog-lang-stub