The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Unit::Debug - framework debugging control

SYNOPSIS

package MyRunner;

use Test::Unit::Debug qw(debug_to_file debug_pkg);

debug_to_file('foo.log');
debug_pkg('Test::Unit::TestCase');

ROUTINES

debug_to_file($file)

Switch debugging to $file.

debug_to_stderr()

Switch debugging to STDERR (this is the default).

debug_pkg($pkg)

Enable debugging in package $pkg.

debug_pkgs(@pkgs)

Enable debugging in the packages @pkgs.

debug_pkg($pkg)

Enable debugging in package $pkg.

debug_pkgs(@pkgs)

Disable debugging in the packages @pkgs.

SEE ALSO

Test::Unit