« Previous - Version 2/18 (diff) - Next » - Current version
Brian Ford, 05/13/2008 08:59 AM


Getting Started

The RubySpec project aims to write a complete executable specification for the Ruby programming language that is syntax-compatible with RSpec. RSpec is essentially a DSL (domain-specific language) for describing the behavior of code. This project contains specs that describe language syntax, core library classes, and standard library classes.

The specs generally serve two purposes: 1) to drive development, and 2) as a verification mechanism. These goal can sometimes be at odds. During development, the code and specs evolve together. For verification, a highly stable set of specs that ideally have been audited for correctness is desirable. The specs have been extensively used and developed BDD style in the Rubinius project for almost 1.5 years with numerous contributions by other projects like JRuby. Consequently, the specs have attained a high degree of stability. However, there are still

Also available in: HTML TXT