NAME

Devel::Profiler::Test - test support library for Devel::Profiler

SYNOPSIS

# plan a test for each call to Devel::Profiler::Test
use Test::More tests => 2;
use Devel::Profiler::Test qw(profile_code check_tree);

profile_code(<<END)
... some code to profile ...
END

check_tree(<<END)
... a tree in the format produced by dprofpp -T ...
END

DESCRIPTION

This is a test support library for Devel::Profiler. It's probably only useful inside Devel::Profiler's test scripts, but you never know!

COPYRIGHT AND LICENCE

Copyright (C) 2002 Sam Tregar

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.

AUTHOR

Sam Tregar <sam@tregar.com>

SEE ALSO

Devel::Profiler