ruby/spec
yugui 30887efb8a * spec/default.mspec: supports that the build directory != srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 03:31:09 +00:00
..
README * spec/README (How to run): added. 2008-08-31 08:31:46 +00:00
default.mspec * spec/default.mspec: supports that the build directory != srcdir. 2008-10-31 03:31:09 +00:00

README

= RubySpec

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

 spec
  +-- mspec            driver library for executing the specification.
  +-- rubyspec
       +-- 1.8
       |    +-- core
       |    +-- ...
       |
       +-- 1.9
            +-- core        specification for core libraries 
            |    +-- array 
            |    +-- bignum
            |    +-- ...
            |
            +-- fixtures    
            +-- 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 spec/path/to/some_spec.rb