lib/teuton/case/play.rb in teuton-2.6.0 vs lib/teuton/case/play.rb in teuton-2.7.0

- old
+ new

@@ -1,14 +1,13 @@ # frozen_string_literal: true -# Case class: -# * play -# * play_in_parallel -# * play_in_sequence -# * fill_report -# * close_opened_sessions class Case + # Case class: play + # TODO: Encapsulate code into PlayManager class + # * play_in_parallel, play_in_sequence, fill_report, close_opened_sessions + # READ: sessions, config, groups, action, report + # TODO: groups from Project or from Case??? def play if skip? verbose Rainbow("S").green return false end @@ -29,9 +28,10 @@ def play_groups_in_sequence verboseln "\n=> Starting case [#{@config.get(:tt_members)}]" if get(:tt_sequence) == true @groups.each do |t| @action[:groupname] = t[:name] + # TODO: @parent(case).instance_eval(&t[:block]) instance_eval(&t[:block]) end end def play_groups_in_parallel