08 Nov 2010 08:49:26 UTC
- Distribution: Log-Dispatch-Config-TestLog
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (1215 / 424 / 0)
- KwaliteeBus factor: 2
- % Coverage
- License: unknown
- Activity24 month
- Download (4.32KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionNUFFIN יובל קוג'מן (Yuval Kogman)
Take me over?The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.
Log::Dispatch::Config::TestLog - Set up Log::Dispatch::Config for a test run
This module will load Log::Dispatch::Config and set things up so that:
By default there is a single dispatcher,
file, a Log::Dispatch::File instance, whose output is the name of the test appended with
If the environment variable
TEST_LOG_DIRis set or the
log_dirparameter is given to
import, then log files will be created in that directory instead.
All TAP output is logged with the
infolevel by default. If the
tap_levelparameter is given to
importthen that level will be used instead.
undefcan be passed to disable TAP output.
Note that this only works for Test::Builder based tests.
- Better test logging
Make the test logging use different levels for certain things (fails increase the level, for instance), and consider scrubbing multi line output since we provide a one line format by default.
Yuval Kogman <email@example.com>
Copyright (c) 2008, 2010 Yuval Kogman. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Log::Dispatch::Config::TestLog, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Log::Dispatch::Config::TestLog
For more information on module installation, please visit the detailed CPAN module installation guide.