Clutter::TestHelper - Simple wrapper module for testing Clutter
use Clutter::TestHelper tests => 10;
A simple wrapper module around Test::More that makes Clutter test suite easier to write. When importing the module, Clutter is also imported and initialised. In case the initialisation process fails, likely to happen if the DISPLAY environment variable is not set, all the planned tests are just skipped.
DISPLAY
The number of tests to be performed
A reference to a list that is checked with Clutter->CHECK_VERSION
Simply skip all tests
Skip all tests if Clutter was not compiled against module_name.
Emmanuele Bassi <ebassi (AT) openedhand (DOT) com>
This module heavily borrows from the equivalent Gtk2::TestHelper module written by the Gtk2-Perl team.
Copyright (C) 2007 OpenedHand, Ltd.
Released under the terms of Clutter itself.
To install Clutter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clutter
CPAN shell
perl -MCPAN -e shell install Clutter
For more information on module installation, please visit the detailed CPAN module installation guide.