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::t - 0 to testing in 1 line

VERSION

version 0.0031

SYNOPSIS

#!/usr/bin/env perl
use Test::t;

ok( 1 )

...

Which is equivalent to

#!/usr/bin/env perl

use strict;
use warnings;

use Test::Most 'no_plan';

...

With a custom plan

#!/usr/bin/env perl
use Test::t tests => 8;

...

DESCRIPTION

Test::t will get you testing in one short line. It will import Test::Most, activate strict and warnings, and issue 'no_plan' (unless you specify a plan manually)

The (non-existent) interface is in flux and will be changed soon.

AUTHOR

Robert Krimen <robertkrimen@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Robert Krimen.

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