1
0
Fork 0
mirror of https://github.com/rspec/rspec-metagem.git synced 2022-11-09 12:09:29 -05:00
RSpec meta-gem that depends on the other components
Find a file
2010-01-21 22:07:02 -06:00
lib Rename gem to rspec 2010-01-19 08:12:13 -06:00
.document Initial jeweler repository creation 2009-06-29 12:18:55 -04:00
.gitignore Initial jeweler repository creation 2009-06-29 12:18:55 -04:00
License.txt Initial jeweler repository creation 2009-06-29 12:18:55 -04:00
Rakefile Rename gem to rspec 2010-01-19 08:12:13 -06:00
README.markdown Added tasks for cloning the other rspec repos initially. 2009-10-02 07:22:30 -05:00
rspec.gemspec fix version in gemspec 2010-01-21 22:07:02 -06:00
VERSION Preparing for 2.0.0a1 release 2009-09-16 11:16:41 -04:00
VERSION.yml Preparing for 2.0.0a1 release 2009-09-16 11:16:41 -04:00

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.

Also see