Jump to content

RubySpec

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by FrescoBot (talk | contribs) at 09:04, 30 January 2011 (Bot: links syntax). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
RubySpec
Stable release
0.7.4 / August 18, 2010 (2010-08-18)
Written inRuby
Operating systemCross-platform
TypeRuby programming language specifications tests
Websitewww.rubyspec.org

The RubySpec project aims 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 captures most of 1.8.6/1.8.7/1.9 behavior as a reference conformance tool. Ruby MRI 1.9.2 currently passes over 99% of RubySpec.[1]

History

The RubySpec tests were initially created in 2006 for the Rubinius project, with significant contribution from the JRuby project[2]. It is now used in other Ruby implementation projects such as IronRuby[3].

See also

References

  1. ^ "Ruby 1.9.2 is released". Retrieved 2010-10-23.
  2. ^ "RubySpec". Retrieved 2010-10-23. The project began as part of Rubinius (now sponsored by Engine Yard) and most of the work was done by contributors to Rubinius, with significant contribution by JRuby collaborators. Engine Yard has provided extensive financial support for this project, employing Evan Phoenix since June 2007 and several more full-time developers since January 2008. See History for more details of the project's timeline.
  3. ^ "RubySpec". Retrieved 2010-10-23. The IronRuby GIT repo includes a copy of the RubySpec tests, including the MSpec test framework, under External.LCA_RESTRICTED\Languages\IronRuby\mspec. This makes it easy to modify existing tests or write new tests, and fix the bugs in the IronRuby sources, all in a single commit to the IronRuby repo.