
Create script or rake task to audit steps usage
Reported by Brandon Faloona | June 11th, 2009 @ 08:35 PM | in Waiting On
- Steps that are unused might be untested and not working. Finding orphaned steps might help ameliorate this.
- An audit could tell you which steps are used by the most number of scenarios, and thus informing the decision to introduce a change.
For example:
rake audit:steps
unused:
/lib/steps/my_steps.rb:17 Then /^I click the Pay Now button$/
most used:
3342 times: /lib/steps/my_steps.rb:35 Then /^I click the logoff button$/
rake audit:pages
unused:
/lib/pages/my_page.rb:22 :footer_table
Comments and changes to this ticket
-
Brandon Faloona June 11th, 2009 @ 08:35 PM
- Tag changed from featu, feature, steps to feature, steps
-
bret (at watircraft) June 11th, 2009 @ 08:45 PM
Does cucumber provide support for this feature. Is so, we can consider
providing access to it from watircraft. If not, then it's not feasible.
Could you check with the cucumber team about this? -
Brandon Faloona June 11th, 2009 @ 08:55 PM
I've added a ticket to the cucumber project:
https://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/366 -
Bret Pettichord June 11th, 2009 @ 09:00 PM
- Assigned user changed from bret (at watircraft) to Bret Pettichord
[responsible:ID#38130 bulk edit command]
-
Bret Pettichord June 11th, 2009 @ 09:03 PM
- Milestone set to Waiting On
-
Bret Pettichord June 11th, 2009 @ 09:12 PM
I have no plans to add the ability to audit page elements.
-
Brandon Faloona June 12th, 2009 @ 02:20 PM
Aslack closed the cucumber ticket as won't fix with this excellent solution:
cucumber --dry-run --format usage test/features
-
Bret Pettichord June 12th, 2009 @ 03:07 PM
- State changed from new to wontfix
-
Bret Pettichord June 12th, 2009 @ 03:08 PM
- Title changed from Create script or rake task to audit steps and page element usage to Create script or rake task to audit steps usage
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for web testing.