lib | ||
.document | ||
.gitignore | ||
License.txt | ||
Rakefile | ||
README.markdown | ||
rspec.gemspec | ||
VERSION | ||
VERSION.yml |
RSpec Meta
This is part of the rspec-2 codebase, which is in super-pre-alpha-infancy at the moment. While you are welcome to track, fork, explore, etc, we're too early in the process to start fielding pull requests and or issues from outside the core development team, so please don't waste your time until this notice changes.
This repo will be the source for the rspec-2.x gem, which will serve as a
meta-gem, much like the rails and merb gems. gem install rspec
will also
install rspec-core, rspec-expectations and rspec-mocks, each of which can be
installed separately and actived in isolation with the gem
command. Among
other benefits, this will allow you to use rspec-expectations, for example, in
Test::Unit::TestCase if you happen to like that style.
Conversely, if you like RSpec's approach to declaring example groups and
examples (describe
and it
) but prefer Test::Unit assertions and mocha, rr
or flexmock for mocking, you'll be able to do that without having to load the
components of rspec that you're not using.
Again, we're super early in the process - aiming for a 2.0 release late 2009/early 2010 - so do stay tuned, but don't start using this just yet.
Development
To get started, make a new directory for the rspec-2 repos to live:
$ mkdir ~/rspec2
Next, cd into it, and pull down the meta repo:
$ cd ~/rspec2
$ git clone git://github.com/rspec/meta.git
The meta repo provides a task to help manage the others. Initially, you want to clone them:
$ cd meta
$ rake git:clone
Now you'll be able to run the other git tasks for pulling, pushing, etc.