Changes for version 0.04 - 2026-04-17

  • Fixed silent swallowing of errors thrown during register_mocks when called from inside an auto-loaded SimpleMock::Mocks::* module. _load_mocks_for's "mock file not found" check matched /Can't locate/ too broadly, also catching "Can't locate object method" dies from validate_mocks and causing them to vanish.
  • SimpleMock::Model::LWP_UA now explicitly loads HTTP::Response and HTTP::Headers (previously relied on them being loaded transitively).

Modules

A mock DBD for testing DBI applications
A simple mocking framework for Perl
Mock DBI module for testing
Mock LWP::UserAgent for testing
mocks for testing Path::Tiny code
A mock model for DBI queries
Mock model for LWP::UserAgent HTTP requests
Mock model for Path::Tiny operations
Mock model for subroutine calls
Automatic cleanup of scoped mock layers
Utility functions for SimpleMock