Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Static analysis tool for Cucumber features

tree: f5324147ae

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 templates
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 History.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 stepdown.gemspec
README.rdoc

Stepdown

Stepdown allows you to see where your most used Cucumber steps are, your unused steps and how they are clustered

Statistics available

  • Total number of scenarios

  • Total number of steps

  • Number of empty scenarios (scenarios without any steps)

  • Number of steps per scenario

  • Number of unique steps per scenario

  • Per step

    • Total usage

    • Number of scenarios

    • Usage per scenario

    • Scenario grouping (number of times used with another step)

Installation

Stepdown is available as a Ruby gem

gem install stepdown

Or, add the following to your Gemfile

gem 'stepdown'

Usage

From the root folder of your project. This assumes step definitions are in PROJECT_ROOT/features/step_definitions and feature files are in PROJECT_ROOT/features

stepdown

Or, set the the directory parameters manually

stepdown --steps <step definition directory> --features <feature file directory>
e.g. stepdown --steps features/step_definitions --features features
Something went wrong with that request. Please try again.