NAME
Gtk2::Test::Helper - Code to make testing Gtk2 and friends simpler.
SYNOPSIS
use Gtk2::TestHelper tests => 10;
DESCRIPTION
A simplistic module that brings together code that would otherwise have to be copied into each and every test. The magic happens during the importing process and therefore all options are passed to the use call. The module also use's strict, warnings, Gtk2, and Test::More so that the individual tests will not have to. The only required option is the number of tests. The module installs a key snooper that causes all keyboard input to be ignored.
OPTIONS
- tests
-
The number of tests to be completed.
- noinit
-
Do not call Gtk2->init_check, assume that it is not necessary.
- nowin32
-
Set to true if all tests are to be skipped on the win32 platform.
- at_least_version
-
A reference to a list that is checked with Gtk2->CHECK_VERSION.
- skip_all
-
Simply skip all tests with the reason provided.
SEE ALSO
AUTHORS
The Gtk2-Perl Team.
COPYRIGHT AND LICENSE
Copyright 2003 by the gtk2-perl team.
LGPL, See LICENSE file for more information.