The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Slow - Skip test(s) that are too slow to run frequently

SYNOPSIS

Some test are too slow to run frequently. This module makes it easy to skip slow tests so that you can run the others more frequently. To mark a test as slow simply use this module:

   use Test::Slow;
   use Test::More;
   ...
   done_testing;

To run just the quick tests, set the QUICK_TEST environment variable to a true value:

   $ QUICK_TEST=1 prove --lib t/*t

The other approach is to disable slow tests by default and run them only when requested :

   use Test::Slow "skip";
   use Test::More;
   ...
   done_testing;

To run even the slow tests, set the SLOW_TESTS environment variable to a true value :

   $ SLOW_TEST=1 prove --lib t/*t

COPYRIGHT & LICENSE

Copyright 2010-2020 Tomáš Znamenáček, zoul@fleuron.cz

Copyright 2020 Thibault Duponchelle, thibault.duponchelle@gmail.com

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.