ruby/spec
nobu 18f4cf13b5 default.mspec: job server
* spec/default.mspec: override MSpecScript#cores by the tokens
  from the parent make job server.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-05 01:36:21 +00:00
..
README * spec/README: update URL. [ci skip] 2016-09-24 05:26:42 +00:00
default.mspec default.mspec: job server 2017-04-05 01:36:21 +00:00

README

= RubySpec

RubySpec (http://ruby.github.io/rubyspec.github.io/) 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