NAME

Test::FitNesse::Slim::ListExecutor - Execute a decoded batch of SLiM instructions

DESCRIPTION

The list executor owns one Test::FitNesse::Slim::StatementExecutor for a protocol session. It applies instructions in order, stops the current batch when a FitNesse stop marker is raised, and resets that marker before the next batch. It is an internal server component rather than a fixture API.

METHODS

new

my $executor = Test::FitNesse::Slim::ListExecutor->new(%options);

Create a session executor. statement_timeout is forwarded to the statement executor and limits each fixture invocation when defined.

executor

Return the underlying statement executor. The method is used by the server and integration tests to inspect session state.

execute

Execute decoded statement array references in order and return their result array references. Each instruction is handled independently by Test::FitNesse::Slim::Statement.

execute_with

my @results = $executor->execute_with($after_statement, @statements);

Execute a batch and optionally invoke $after_statement with each statement and result after execution. The callback is used by pipe output tunneling; its exceptions propagate to the server.