NAME
Test::FitNesse::Slim::SlimHelperLibrary - Maintain FitNesse script-table fixture state
DESCRIPTION
Each statement executor creates a private helper-library instance. Its stack saves and restores the current scriptTableActor reference used by FitNesse script tables. The stack belongs to one SLiM session and preserves object identity.
METHODS
new
my $library = Test::FitNesse::Slim::SlimHelperLibrary->new(\%instances);
Create a helper bound to the executor's instance hash. The hash is retained by reference so fixture changes are visible to helper operations.
get_fixture
Return the current scriptTableActor. If no actor is registered, throw the FitNesse-compatible NO_INSTANCE error.
push_fixture
Save the current fixture reference on the helper's LIFO stack. Return no value.
pop_fixture
Restore the most recently saved fixture. An empty stack throws EmptyStackException and leaves the instance hash unchanged.