ruby/spec
yugui 7378c8fa61 * spec/default.mspec: follows runruby.rb's move at r23542.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 15:22:18 +00:00
..
.gitignore * spec/.gitignore: ignores rubyspec/ and mspec/. 2009-05-20 11:55:39 +00:00
README * spec/README: follows the change of directory structure in rubyspec. 2008-12-31 10:38:39 +00:00
default.mspec * spec/default.mspec: follows runruby.rb's move at r23542. 2009-05-22 15:22:18 +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.

== 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|language}
   or
   $ mspec spec/path/to/some_spec.rb