Forum: RSpec [cucumber] orphaned steps

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3464536ce6396bacc132ad18d2c46489?d=identicon&s=25 Tim Walker (timw)
on 2009-02-26 01:00
(Received via mailing list)
Any good way to find all orphaned steps? That is, any steps that exist
that do not match any features?

Many thanks,

Tim
0be0e4aa42aacd9a8a95c792de273ca7?d=identicon&s=25 Aslak Hellesøy (aslakhellesoy)
on 2009-02-26 06:17
(Received via mailing list)
> Any good way to find all orphaned steps? That is, any steps that exist
> that do not match any features?
>

You can use RCov.

Aslak
3880f04333bf8375b44cd6aa135406c7?d=identicon&s=25 Bart Zonneveld (Guest)
on 2009-02-26 10:47
(Received via mailing list)
On 26-feb-2009, at 6:11, Aslak Hellesøy wrote:

>
>
>> Any good way to find all orphaned steps? That is, any steps that
>> exist
>> that do not match any features?
>>
>
> You can use RCov.

Something like this'll do the trick: http://gist.github.com/70747

cheers,
bartz
3464536ce6396bacc132ad18d2c46489?d=identicon&s=25 Tim Walker (timw)
on 2009-02-26 16:11
(Received via mailing list)
Hey thanks guys. Looks like that'll work. Tim
This topic is locked and can not be replied to.