ruby--ruby/spec
nobu 6cbe0e0fd6 * spec/README: update the description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:13:14 +00:00
..
README * spec/README: update the description. 2011-05-24 22:13:14 +00:00
default.mspec * ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441. 2010-08-03 05:48:05 +00:00

README

= RubySpec

RubySpec (http://rubyspec.org) provides the annotation of the Ruby
implementation in an executable format.  The make task
`update-rubyspec' retrieves the specification and puts it into this
directory.

== Directory structure
 spec
  +-- mspec            driver library for executing the specification.
  +-- rubyspec
       +-- core        specification for core libraries
       |    +-- array
       |    +-- bignum
       |    +-- ...
       |
       +-- fixtures    example classes for writing specs
       +-- language    specification for Ruby language itself
       +-- library     specification for standard libraries
            +-- addrev
            +-- ...

== How to run
:make target
  verifies all specs.
   $ make test-rubyspec
:mspec command
  verifies the specified spec.
   $ mspec {language|core|library}
   or
   $ mspec spec/path/to/some_spec.rb