Update Changes
See the LICENSE section in lib/Test/MockModule.pm for usage and distribution rights.
lib/Test/MockModule.pm
Run these commands in the source directory:
perl Build.PL ./Build ./Build test ./Build install
Then delete the source directory tree since it’s no longer needed.
Alternatively, you can simply install the module via cpanm:
cpanm
cpanm Test::MockModule
Run perldoc Test::MockModule to read the full documentation.
perldoc Test::MockModule
Perl模块用于模拟和替换其他模块,便于单元测试
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
Test::MockModule - mock subroutines in a module
See the LICENSE section in
lib/Test/MockModule.pmfor usage and distribution rights.Installation
Run these commands in the source directory:
Then delete the source directory tree since it’s no longer needed.
Alternatively, you can simply install the module via
cpanm:Documentation
Run
perldoc Test::MockModuleto read the full documentation.