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

David Chelimsky dchelimsky at gmail.com
Sun Jan 31 21:08:23 EST 2010


On Sun, Jan 31, 2010 at 5:28 PM, Phillip Koebbe <phillipkoebbe at gmail.com> wrote:
>
> 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.

Agreed:

http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature

>
> Peace,
> Phillip


More information about the rspec-users mailing list