Sha256: 6f00d778b2fee0396676d55305da8ecbad390d08d790b4747c82cc6a803a7285

Contents?: true

Size: 466 Bytes

Versions: 4

Compression:

Stored size: 466 Bytes

Contents

module InfinityTest
  module TestLibrary
    class Cucumber < TestFramework
      include HeuristicsHelper
      binary :cucumber
      parse_results :passed => /(\d+) passed/, :failed => /(\d+) failed/

      def initialize
        add_heuristics!
      end

      def add_heuristics!
        heuristics do
          add("^features/*/*feature") do
            run :all => :tests, :in_dir => :steps_definitions
          end
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
infinity_test-1.0.3 lib/infinity_test/test_library/cucumber.rb
infinity_test-1.0.2 lib/infinity_test/test_library/cucumber.rb
infinity_test-1.0.1 lib/infinity_test/test_library/cucumber.rb
infinity_test-1.0.0 lib/infinity_test/test_library/cucumber.rb