summaryrefslogtreecommitdiff
path: root/spec/README
blob: c8d17ea4276001662c7dcf33ea3031093f7683d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
= 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