Path to this page:
./
devel/p5-Test-TempDir,
Temporary files support for testing
Branch: pkgsrc-2018Q1,
Version: 0.10nb3,
Package name: p5-Test-TempDir-0.10nb3,
Maintainer: pkgsrc-usersTest::TempDir provides temporary directory creation with testing in mind.
The differences between using this and using File::Temp are:
* If t/tmp is available (writable, creatable, etc) it's preferred
over $ENV{TMPDIR} etc. Otherwise a temporary directory will be
used.
This is temp_root
* Lockfiles are used on t/tmp, to prevent race conditions when
running under a parallel test harness.
* The temp_root is cleaned at the end of a test run, but not
if tests failed.
* temp_root is emptied at the begining of a test run unconditionally.
* The default policy is not to clean the individual tempfiles
and tempdirs within temp_root, in order to aid in debugging of
failed tests.
Required to run:[
lang/perl5]
Master sites: (Expand)
SHA1: 58ec7a5b7fb7d4bbf131435017fb2d37706ae7fa
RMD160: 90c81c2f660c572225146a04633e3e115bfdf115
Filesize: 30.207 KB
Version history: (Expand)
- (2018-04-04) Package added to pkgsrc.se, version p5-Test-TempDir-0.10nb3 (created)