Class: InfinityTest::TestLibrary::Cucumber

Inherits:
InfinityTest::TestFramework show all
Includes:
HeuristicsHelper
Defined in:
lib/infinity_test/test_library/cucumber.rb

Instance Attribute Summary

Attributes inherited from InfinityTest::TestFramework

#application, #message, #rubies, #specific_options, #test_pattern

Instance Method Summary collapse

Methods included from HeuristicsHelper

#heuristics

Methods inherited from InfinityTest::TestFramework

#all_files, create_accessors, #create_pattern_instance_variables, #decide_files, parse_results, #test_files, #test_message

Methods included from Builder

#construct_command, #construct_commands, #resolve_options, #run_with_bundler!, #run_without_bundler!

Methods included from Environment

#environments

Methods included from BinaryPath

#have_binary?, included, #print_message, #rvm_bin_path, #search_binary

Constructor Details

#initializeCucumber

Returns a new instance of Cucumber.



8
9
10
# File 'lib/infinity_test/test_library/cucumber.rb', line 8

def initialize
  add_heuristics!
end

Instance Method Details

#add_heuristics!Object



12
13
14
15
16
17
18
# File 'lib/infinity_test/test_library/cucumber.rb', line 12

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