Subject: | Mocking a module from scratch |
It would be nice if Test::MockModule could mock a module from scratch
rather than just modifying a loadable module.
This should include support for use of Exporter.
I am trying to test against modules that export with Exporter and that
are not available in the source/test environment and will only become
available in the [embedded] production environment which does not
include the tests.
It can be done with Test::MockObject fake module but this provides no
special support for the import function and the results are messy and I
am looking for a better way.