[rspec-devel] rspec extensions
pergesu at gmail.com
Sat Sep 15 03:23:35 EDT 2007
On 9/15/07, Brian Takita <brian.takita at gmail.com> wrote:
> On 9/12/07, Nick Kallen <nick at pivotalsf.com> wrote:
> > i know you're on vacation but i'd bet you're checking your email:
> Not that often. Ive been able to stay away for the most part :)
> I'm ccing the rspec developer list for more ideas.
> > i want to add an extension to RSpec. I'd like to be able to "tag" it and
> > describe statements. For example:
> > it "should ensure that my checkbook is balanced", :tags => [:smoke,
> > :accounting] do
> > end
> > describe Checkbook, "foobar", :tags => [:fast, :accounting] do
> > end
> > (syntax TBD)
> > I then want a rake task like:
> > rake spec TAGS=(fast and accounting)
> > rake spec TAGS=(regression or user)
> > ---
> > How hard would it be to do something like this? Does Rspec have a plugin
> > framework?
> Thats really interesting. There has been talk about adding tagging to rspec.
> I really like it. This feature would be particularly useful for mature
> projects where the precheckin tests are reducing productivity by being
> slow. Nick, do you have some other use cases in mind?
This is a great idea. I love it.
More information about the rspec-devel