Upstream software project

perl-Test-TempDir-Tiny

Temporary directories that stick around when tests fail

About perl-Test-TempDir-Tiny

Temporary directories that stick around when tests fail

This project links 3 native package records across 3 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.perl-Test-TempDir-Tiny: recorded package coverageopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-Test-TempDir-Tiny
Publisher
Not authoritatively mapped
Native package records
3
Operating systems
opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Apache-2.0
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This module works with Test::More to create temporary directories that stick around if tests fail. It is loosely based on Test::TempDir, but with less complexity, greater portability and zero non-core dependencies. (Capture::Tiny is recommended for testing.) The tempdir and in_tempdir functions are exported by default. If the current directory is writable, the root for directories will be _./tmp_. Otherwise, a File::Temp directory will be created wherever temporary directories are stored for your system. Every _*.t_ file gets its own subdirectory under the root based on the test filename, but with slashes and periods replaced with underscores. For example, _t/foo.t_ would get a test-file-specific subdirectory _./tmp/t_foo_t/_. Directories created by tempdir get put in that directory. This makes it very easy to find files later if tests fail. The test-file-specific name is consistent from run-to-run. If an old directory already exists, it will be removed. When the test file exits, if all tests passed, then the test-file-specific directory is recursively removed. If a test failed and the root directory is _./tmp_, the test-file-specific directory sticks around for inspection. (But if the root is a File::Temp directory, it is always discarded). If nothing is left in _./tmp_ (i.e. no other test file failed), then _./tmp_ is cleaned up as well (unless it's a symlink). This module attempts to avoid race conditions due to parallel testing. In extreme cases, the test-file-specific subdirectory might be created as a regular File::Temp directory rather than in _./tmp_. In such a case, a warning will be issued.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package perl-Test-TempDir-Tiny

    leap-15.6 (openSUSE Leap 15.6) (Development/Libraries/Perl): Temporary directories that stick around when tests fail

    0.016-bp156.3.1: noarch

    Source: perl-Test-TempDir-Tiny

openSUSE Leap 16.0

  1. Package perl-Test-TempDir-Tiny

    leap-16.0 (openSUSE Leap 16.0) (Development/Libraries/Perl): Temporary directories that stick around when tests fail

    0.018-bp160.1.11: noarch

    Source: perl-Test-TempDir-Tiny

openSUSE Tumbleweed

  1. Package perl-Test-TempDir-Tiny

    tumbleweed (openSUSE Tumbleweed) (Development/Libraries/Perl): Temporary directories that stick around when tests fail

    0.018-1.32: noarch

    Source: perl-Test-TempDir-Tiny

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.