Curtis "Ovid" Poe > Test-Kit-0.101 > Test::Kit::Features

Download:
Test-Kit-0.101.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Module Version: 0.101   Source  

DESCRIPTION ^

Test::Kit::Features - Features available for Test::Kit.

VERSION ^

Version 0.100

explain

 use Test::Kit '+explain';

This exports an &explain function into your namespace. It's like &diag, but only runs if your tests are being run in verbose mode prove -v.

If any references are passed, it uses Data::Dumper to display the references.

on_fail

 use Test::Kit '+on_fail';

This exports an &on_fail function into your namespace. When called, if any subsequent tests fail, it will execute the 'on_fail' subroutine passed in.

The function receives one argument, an object with the following methods:

syntax highlighting: