Sha256: 312eaf69598f81e7993d51e86c5e63f21fddb75adbce5e002d66f64e699293f9

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

module AllureCucumber
  
  class FeatureTracker

    attr_accessor :feature_name, :scenario_name, :step_name, :scenario_started_at  
    @@tracker = nil

    def self.create
      @@tracker = FeatureTracker.new unless @@tracker
      private_class_method :new
      @@tracker
    end

    def self.tracker
      @@tracker
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
allure-cucumber-0.4.4 lib/allure-cucumber/feature_tracker.rb
allure-cucumber-0.4.3 lib/allure-cucumber/feature_tracker.rb
allure-cucumber-0.4.2 lib/allure-cucumber/feature_tracker.rb