FICHA · AUR

perl-test-mockrandom

Perl/CPAN Module Test::MockRandom: Replaces random number generation with non-random number generation

  • Perl library
  • LIBRARY
  • Dependency only
official+codex · reviewed · Jun 3, 2026 description in en

Description

Random behavior becomes reproducible when tests control the values returned by the random-number generator. This module replaces Perl random generation with deterministic values for test cases. It is useful for validating code paths that would otherwise depend on chance.

Permissions

Permissions not analysed for this source yet.