Test::Mock::Test - Mock Test::* code to succeed or do nothing
This module mocks typical test function from modules
Test::More, Test::Most, Test::Deep
to always return ok. In particular this means their test functionality is skipped, so the overhead of the tests is dropped and reduced to only the function call overhead.
You can use this, for instance, to reuse test scripts as benchmarks where the overhead of the test code stands in the way of measuring the actual code runtime. The ratio of that overhead, however, depends on the test script, e.g. tests around Test::Deep with big data structures bring them in.