mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 08:55:35 +08:00
* common.mk: use ruby organization for rubyspec. * spec/default.mspec: remove specific version number. https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714 * spec/default.mspec: use default configuration file name. https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@50069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
= RubySpec
RubySpec (http://rubyspec.org) 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