Path to this page:
./
devel/p5-Test-TempDir,
Temporary files support for testing
Branch: pkgsrc-2013Q1,
Version: 0.05nb4,
Package name: p5-Test-TempDir-0.05nb4,
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] [
devel/p5-Sub-Exporter] [
devel/p5-File-NFSLock] [
devel/p5-File-Path] [
devel/p5-Path-Class] [
devel/p5-Test-use-ok] [
devel/p5-namespace-clean]
Master sites: (Expand)
SHA1: 52f715fd73a852866decc403f85d98d91fd6b2b5
RMD160: aa930cb9c1e398cc94aa55714bcc3aad5622d3f2
Filesize: 7.761 KB
Version history: (Expand)
- (2013-04-01) Package added to pkgsrc.se, version p5-Test-TempDir-0.05nb4 (created)