Skip to content
cucumber steps benchmark
Ruby
Find file
Latest commit 3ee85a9 @elvuel require cucumber >= 1.1.1
Failed to load latest commit information.
bin initial
features initial
lib update version
.gitignore initial
Gemfile initial
README.rdoc require cucumber >= 1.1.1
Rakefile initial
cuke-step-bm.gemspec update version
test.rb initial

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.