How to Install and Uninstall libmock-quick-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 25,2024
1. Install "libmock-quick-perl" package
Please follow the guidelines below to install libmock-quick-perl on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
libmock-quick-perl
Copied
2. Uninstall "libmock-quick-perl" package
Please follow the guidelines below to uninstall libmock-quick-perl on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
libmock-quick-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libmock-quick-perl package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: libmock-quick-perl
Priority: optional
Section: universe/perl
Installed-Size: 75
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.110-1
Depends: perl, libexporter-declare-perl
Filename: pool/universe/libm/libmock-quick-perl/libmock-quick-perl_1.110-1_all.deb
Size: 31178
MD5sum: 11b0fcfc09c46a7bd5793e948a3e91fa
SHA1: dcaa8c12202790eb435f4df04aa645213d7f9136
SHA256: e7f862983ff5a9a7a3319c86db161e784b4f319926d8ce2629d878291d84af96
Description-en: Perl module for quick side-effect free mocking of objects and classes
Mock::Quick is here to solve the current problems with Mocking libraries.
.
There are a couple Mocking libraries available on CPAN. The primary
problems with these libraries include verbose syntax, and most
importantly side-effects. Some Mocking libraries expect you to mock a
specific class, and will unload it then redefine it. This is
particularly a problem if you only want to override a class on a
lexical level.
.
Mock::Quick provides a declarative mocking interface that results in a
very concise, but clear syntax. There are separate facilities for
mocking object instances, and classes. You can quickly create an
instance of an object with custom attributes and methods. You can also
quickly create an anonymous class, optionally inhereting from another,
with whatever methods you desire.
.
Mock::Quick also provides a tool that provides an OO interface to
overriding methods in existing classes. This tool also allows for the
restoration of the original class methods. Best of all this is a
localized tool, when your control object falls out of scope the original
class is restored.
Description-md5: e9998ff2e7f48e393aec028b23b17070
Homepage: https://metacpan.org/release/Mock-Quick
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/perl
Installed-Size: 75
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.110-1
Depends: perl, libexporter-declare-perl
Filename: pool/universe/libm/libmock-quick-perl/libmock-quick-perl_1.110-1_all.deb
Size: 31178
MD5sum: 11b0fcfc09c46a7bd5793e948a3e91fa
SHA1: dcaa8c12202790eb435f4df04aa645213d7f9136
SHA256: e7f862983ff5a9a7a3319c86db161e784b4f319926d8ce2629d878291d84af96
Description-en: Perl module for quick side-effect free mocking of objects and classes
Mock::Quick is here to solve the current problems with Mocking libraries.
.
There are a couple Mocking libraries available on CPAN. The primary
problems with these libraries include verbose syntax, and most
importantly side-effects. Some Mocking libraries expect you to mock a
specific class, and will unload it then redefine it. This is
particularly a problem if you only want to override a class on a
lexical level.
.
Mock::Quick provides a declarative mocking interface that results in a
very concise, but clear syntax. There are separate facilities for
mocking object instances, and classes. You can quickly create an
instance of an object with custom attributes and methods. You can also
quickly create an anonymous class, optionally inhereting from another,
with whatever methods you desire.
.
Mock::Quick also provides a tool that provides an OO interface to
overriding methods in existing classes. This tool also allows for the
restoration of the original class methods. Best of all this is a
localized tool, when your control object falls out of scope the original
class is restored.
Description-md5: e9998ff2e7f48e393aec028b23b17070
Homepage: https://metacpan.org/release/Mock-Quick
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu