Socialtext::WikiFixture(3) Base class for tests specified on a wiki page


use base 'Socialtext::WikiFixture';


Socialtext::WikiFixture is a base class that fetches and parses wiki pages using the Socialtext::Resting REST API. It then tries to execute the commands in the wiki tables. The code for executing the tables should be implemented in subclasses.

This package assumes that tests will be defined in top level tables on the specified wiki page.


new( %opts )

Create a new fixture object. You probably mean to call this on a subclass.


Optional initialization hook for subclasses. Called from new().

run_test_table( $table_ref )

Run the commands contained in the supplied table. The table will be an array ref of array refs.


Optional hook for subclasses that will be called after the tests in the table have been run.

handle_command( @row )

Run the command. Subclasses will implement this.


Luke Closs, "<luke.closs at>"


Please report any bugs or feature requests to "bug-socialtext-editpage at", or through the web interface at <>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Socialtext::WikiFixture

You can also look for information at:



Copyright 2006 Luke Closs, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.