此内容没有您所选择的语言版本。
8.150. perl-Test-MockObject
Updated perl-Test-MockObject packages that fix one bug are now available for Red Hat Enterprise Linux 6.
Test::MockObject is a highly polymorphic testing object, capable of looking like all sorts of objects. This makes white-box testing much easier, as you can concentrate on what the code being tested sends to and receives from the mocked object, instead of worrying about making up your own data.
Bug Fix
- BZ#661804
- Building a perl-Test-MockObject source RPM package without an installed perl-CGI package failed on test execution. To fix this bug, build-time dependencies on the CGI, Test::Builder, and Test::More Perl modules have been declared in the RPM package. As a result, it is possible to rebuild the perl-Test-MockObject source RPM package in a minimal environment.
Users of perl-Test-MockObject are advised to upgrade to these updated packages, which fix this bug.