This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Luke Closs (author)
Tue Dec 11 12:35:12 -0800 2007
README
mocked - use mocked libraries in unit tests Synopsis: # use a fake LWP::Simple for testing from t/lib/LWP/Simple.pm use mocked 'LWP::Simple'; my $text = get($url); Often during unit testing, you may find the need to use mocked libraries to test edge cases, or prevent unit tests from using slow or external code. This is where mocking libraries can help. When you mock a library, you are creating a fake one that will be used in place of the real one. The code can do as much or as little as is needed. Use mocked.pm as a safety measure (so it actually loads the right module), and as a way to document the tests for future maintainers.








