Sha256: 4f722d681f9797dbae1490b77ac61227c5cf41f8d2d51e05b69b048be9ae7954

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

require_relative "../helpers"

describe BigBench::PostProcessor::Statistics do
  
  it "should run and create the following statistics" do    
    BigBench.config.duration = 2.minutes
    BigBench.config.output = "spec/tests/sample_results_big.ljson"
    BigBench.benchmark("index page" => "http://localhost:3001"){ get "/" }
    BigBench.post_process :statistics
    
    lambda{ BigBench.post_processors.first.run! }.should_not raise_exception

  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bigbench-0.0.4 spec/post_processors/statistics_spec.rb