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.

SEE ALSO

perl(1), Gtk2(3pm).

AUTHORS

The Gtk2-Perl Team.

COPYRIGHT AND LICENSE

Copyright 2003 by the gtk2-perl team.

LGPL, See LICENSE file for more information.