1Test::Unit::Debug(3) User Contributed Perl Documentation Test::Unit::Debug(3)
2
3
4
6 Test::Unit::Debug - framework debugging control
7
9 package MyRunner;
10
11 use Test::Unit::Debug qw(debug_to_file debug_pkg);
12
13 debug_to_file('foo.log');
14 debug_pkg('Test::Unit::TestCase');
15
17 debug_to_file($file)
18 Switch debugging to $file.
19
20 debug_to_stderr()
21 Switch debugging to STDERR (this is the default).
22
23 debug_pkg($pkg)
24 Enable debugging in package $pkg.
25
26 debug_pkgs(@pkgs)
27 Enable debugging in the packages @pkgs.
28
29 debug_pkg($pkg)
30 Enable debugging in package $pkg.
31
32 debug_pkgs(@pkgs)
33 Disable debugging in the packages @pkgs.
34
36 Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see
37 Test::Unit or the AUTHORS file included in this distribution).
38
39 All rights reserved. This program is free software; you can
40 redistribute it and/or modify it under the same terms as Perl itself.
41
43 Test::Unit
44
45
46
47perl v5.34.0 2021-07-23 Test::Unit::Debug(3)