[Rspec-devel] separation of components

David Chelimsky dchelimsky at gmail.com
Mon Sep 4 22:29:25 EDT 2006


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?


More information about the Rspec-devel mailing list