No description, website, or topics provided.
Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/CompUnit/Repository Initial working version May 21, 2017
t Initial working version May 21, 2017
.gitignore
.travis.yml Initial working version May 21, 2017
LICENSE Initial working version May 21, 2017
META6.json
README.md Initial working version May 21, 2017

README.md

Build Status

NAME

CompUnit::Repository::Mask - hide installed modules for testing.

SYNOPSIS

use CompUnit::Repository::Mask :mask-module, :unmask-module;
mask-module('Test');
try require Test; # now fails
unmask-module('Test');
require Test; # succeeds

DESCRIPTION

CompUnit::Repository::Mask helps testing code dealing with optional dependencies. It allows for masking and unmasking installed modules, so you can write tests for when the dependency is missing and for when it's installed.

AUTHOR

Stefan Seifert nine@detonation.org

COPYRIGHT AND LICENSE

Copyright 2017 Stefan Seifert

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.