./devel/p5-Test-TempDir, Temporary files support for testing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2014Q4, Version: 0.08nb1, Package name: p5-Test-TempDir-0.08nb1, Maintainer: pkgsrc-users

Test::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:
[devel/p5-Test-use-ok] [devel/p5-Sub-Exporter] [devel/p5-MooseX-Types-Path-Class] [devel/p5-File-Path] [devel/p5-File-NFSLock] [devel/p5-Moose] [devel/p5-Path-Class]

Master sites: (Expand)

SHA1: 50b6358dd6de8b8c430fb52d17b28a7eeb8d63b9
RMD160: cc0591720f1b7a26e66f016a2af3143f7055ad12
Filesize: 20.21 KB

Version history: (Expand)