FICHA · MANJARO

perl-test-mock-guard

Simple mock test library using RAII.

  • Library
  • NONE
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Perl tests can create mocks that are automatically restored when a guard object leaves scope. This helps tests replace behavior temporarily without leaving global state changed for later cases.

It is a developer testing library. Mocked behavior should stay narrow so tests still exercise real integration points where they matter.

Permissions

Permissions not analysed for this source yet.