[Rspec-devel] separation of components

aslak hellesoy aslak.hellesoy at gmail.com
Tue Sep 5 03:25:42 EDT 2006


On 9/5/06, David Chelimsky <dchelimsky at gmail.com> wrote:
> 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
>

+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
> documented.
>

These are internal changes. Go for it.
But perhaps on a branch?

Aslak

> David
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the Rspec-devel mailing list