[Rspec-devel] separation of components
dchelimsky at gmail.com
Tue Sep 5 03:15:25 EDT 2006
On 9/4/06, David Astels <dastels at daveastels.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 4-Sep-06, at 11:29 PM, David Chelimsky wrote:
> > I'd like to separate the pieces of rspec. By default you get the
> > current pieces:
> > require 'spec'
> > Or you could ask for individual pieces:
> > require 'spec/context'
> > require 'spec/expectation'
> > require 'spec/mock'
> > This would free us up to:
> > - incorporate other mock frameworks
> > - support alternate APIs (given/then/when)
> > - expose the expectation API to test/unit users
> > Thoughts?
> Big +1
Played w/ this tonight. Currently everything is in Spec::Api. I'd want
that to change to Spec::Expectations, Spec::Runner and Spec::Mocks.
Would that hurt anybody? Shouldn't if you're just using rspec as
More information about the Rspec-devel