Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

cucumber steps benchmark

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 cuke-step-bm.gemspec
Octocat-spinner-32 test.rb
README.rdoc

Cucumber steps time-consuming

figure out which steps are slow.

Configuration

* require : cucumber >= "1.1.1"

* Gemfile : gem "cuke-step-bm" # after gem "cucumber"

* config/cuke_step_bm.rb  or  ./.cuke_step_bm or $HOME/.cuke_step_bm"

  output_mode:
    # :bm => BenchMark(only for display)
    # :std => SimpleTimeDiff
    # :std_with_log => SimpleTimeDiff log
    # :off => Cucumber default do nothing

  CukeStepBm.configure do |config|
    config.root = "/tmp"
    config.output_mode = :std_with_log
    config.log_file = File.join(config.root, 'steps_consuming.bms')
    config.delimiter = "-#{[20879].pack("U*")}-"
  end

Command

cuke-step-bm -h for help

TodoList Working in process

* add spec test
* add color
* refator for something
* ..
Something went wrong with that request. Please try again.