[rspec-users] somewhat confused by the help instructions...

Phillip Koebbe phillipkoebbe at gmail.com
Sun Jan 31 18:28:36 EST 2010



Rick DeNatale wrote:
> On Sun, Jan 31, 2010 at 4:55 PM, Phillip Koebbe<phillipkoebbe at gmail.com>  wrote:
>    
>> David Chelimsky wrote:
>>      
>>> Done:
>>>
>>> http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature
>>>
>>>
>>>        
>> Cool stuff!
>>
>> Does that match the describe groups as well? I would like to be able to run
>> all of the examples in either "first group" or "second group". Will it
>> match?
>>      
>
> Also, does anyone but me find the expectation in the case where
> there's no match surprising?
>
>    

I thought about that, as well. I would expect nothing to be done if no 
match was found. Consider the case of misspelling the example or group 
and having the whole shebang run instead of nothing.

Peace,
Phillip


More information about the rspec-users mailing list