lib/lopata/step.rb in lopata-0.1.6 vs lib/lopata/step.rb in lopata-0.1.7

- old
+ new

@@ -1,6 +1,7 @@ module Lopata + # @private class Step attr_reader :block, :args, :condition, :method_name, :shared_step # metadata overrien by the step. attr_accessor :metadata @@ -24,11 +25,12 @@ return [] unless block [StepExecution.new(self, groups, &block)] end end - # Used for action, setup, teardown + # @private + # Used for action, setup, teardown, verify class ActionStep < Step def execution_steps(scenario, groups: []) steps = [] return steps if condition && !condition.match?(scenario) convert_args(scenario).each do |step| @@ -64,10 +66,11 @@ def title shared_step && "#{method_name.capitalize} #{shared_step.name}" || "Untitled #{method_name}" end end + # @private # Used for context class GroupStep < Step def execution_steps(scenario, groups: []) steps = [] @@ -92,9 +95,10 @@ @steps = builder.steps @block = nil end end + #@private class StepExecution attr_reader :step, :status, :exception, :block, :pending_message, :groups extend Forwardable def_delegators :step, :method_name