Sha256: d78aefccf44b4644471e08adf05293eea4f0de247a85b738b964ceac29a90bc1

Contents?: true

Size: 521 Bytes

Versions: 11

Compression:

Stored size: 521 Bytes

Contents

module Cucumber
  module Core
    module Report
      class Summary
        attr_reader :test_cases, :test_steps

        def initialize
          @test_cases = Test::Result::Summary.new
          @test_steps = Test::Result::Summary.new
        end

        def after_test_case(test_case, result)
          result.describe_to test_cases
        end

        def after_test_step(test_step, result)
          result.describe_to test_steps
        end

        def method_missing(*)
        end

      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber-core-1.5.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.4.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.3.1 lib/cucumber/core/report/summary.rb
cucumber-core-1.3.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.2.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.1.3 lib/cucumber/core/report/summary.rb
cucumber-core-1.1.2 lib/cucumber/core/report/summary.rb
cucumber-core-1.1.1 lib/cucumber/core/report/summary.rb
cucumber-core-1.1.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.0.0 lib/cucumber/core/report/summary.rb
cucumber-core-1.0.0.beta.4 lib/cucumber/core/report/summary.rb