BSD Ports

devel/p5-Test-MockFile 0.037nb1 NetBSD

Validate file-interaction code that without touching the file system

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
artistic-2.0
Categories
devel, perl5
Package size
30.7 KiB, 130.5 KiB installed

Description

Test::MockFile - Allows tests to validate code that can interact with files without touching the file system.

Intercepts file system calls for specific files so unit testing can take place without any files being altered on disk.

This is useful for small tests where file interaction is discouraged.

A strict mode is even provided (and turned on by default) which can throw a die when files are accessed during your tests!

Install

Binary package:

pkgin install p5-Test-MockFile

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Test-MockFile && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.037nb1
NetBSD 10.1 aarch640.037
SmartOS / illumos x86_640.037nb1
macOS 15 arm640.037nb1

Dependencies

Run dependencies 3

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0