RubySpec

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
RubySpec
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inRuby
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    TypeRuby programming language specifications tests

    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,[1] while version 2.2.0 crashed on one of the tests.[2]

    History

    [edit | edit source]

    The RubySpec tests were initially created in 2006 for the Rubinius project, with significant contribution from the JRuby project.[3] It is now used in other Ruby implementation projects such as IronRuby.[4] The RubySpec project was discontinued at the end of 2014 due to a lack of uptake from mainstream ruby developers.[2]

    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

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).