mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
0ed8771a44
mspec. * spec/README: typo fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
30 lines
869 B
Text
30 lines
869 B
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
|
|
+-- 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
|