1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/README
yugui c4f8143b64 * spec/README: directory structrue changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-14 05:32:35 +00:00

39 lines
1.2 KiB
Text

= 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