Sha256: 219b8bd32f64306b7dc845957774a494a66a2e58b5e1e7fb544f2c30ee1340b6

Contents?: true

Size: 555 Bytes

Versions: 7

Compression:

Stored size: 555 Bytes

Contents

class Specjour::Cucumber::Preloader
  def self.load(feature_file)
    # preload all features
    cli = ::Cucumber::Cli::Main.new []
    step_mother = cli.class.step_mother

    step_mother.log = cli.configuration.log
    step_mother.options = cli.configuration.options
    step_mother.load_code_files(cli.configuration.support_to_load)
    step_mother.after_configuration(cli.configuration)
    features = step_mother.load_plain_text_features(cli.configuration.feature_files)
    step_mother.load_code_files(cli.configuration.step_defs_to_load)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
specjour-0.3.0.rc8 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc7 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc6 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc5 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc4 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc3 lib/specjour/cucumber/preloader.rb
specjour-0.3.0.rc2 lib/specjour/cucumber/preloader.rb