Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Create script or rake task to audit steps usage

#36
  • 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

Reported by Brandon Faloona · June 11th, 2009 @ 08:35 PM

State: wontfix
Milestone: Waiting On
Assigned to: Bret Pettichord Bret Pettichord

Activity

  1. Brandon Faloona
    Brandon Faloona
    • Tag changed from featu, feature, steps to feature, steps

    June 11th, 2009 @ 08:35 PM

  2. bret (at watircraft)
    bret (at watircraft)

    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?

    June 11th, 2009 @ 08:45 PM

  3. Brandon Faloona
  4. Bret Pettichord
    Bret Pettichord
    • Assigned user changed from bret (at watircraft) to Bret Pettichord

    [responsible:ID#38130 bulk edit command]

    June 11th, 2009 @ 09:00 PM

  5. Bret Pettichord
    Bret Pettichord
    • Milestone set to Waiting On

    June 11th, 2009 @ 09:03 PM

  6. Bret Pettichord
    Bret Pettichord

    I have no plans to add the ability to audit page elements.

    June 11th, 2009 @ 09:12 PM

  7. Brandon Faloona
    Brandon Faloona

    Aslack closed the cucumber ticket as won't fix with this excellent solution:

    cucumber --dry-run --format usage test/features
    

    June 12th, 2009 @ 02:20 PM

  8. Bret Pettichord
    Bret Pettichord
    • State changed from new to wontfix

    June 12th, 2009 @ 03:07 PM

  9. Bret Pettichord
    Bret Pettichord
    • 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

    June 12th, 2009 @ 03:08 PM

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.