summaryrefslogtreecommitdiff
path: root/spec/README
blob: ea10bcf0307a0b2545638ba348e2c6984eedda5d (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
32
33
34
35
36
37
38
39
= 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
       +-- 1.8           specification for both Ruby 1.8 and 1.9
       |    +-- 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
       |         +-- ...
       |    +-- core
       |    +-- ...
       |
       +-- 1.9           specification for new features and large changes in Ruby 1.9
            +-- core
            +-- fixtures
            +-- language
            +-- library
            +-- core
            +-- ...

== How to run
:make target
  verifies all specs.
   $ make test-rubyspec
:mspec command
  verifies the specified spec.
   $ mspec spec/path/to/some_spec.rb