How to Install and Uninstall libtest-base-perl Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 22,2024
1. Install "libtest-base-perl" package
Here is a brief guide to show you how to install libtest-base-perl on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
libtest-base-perl
Copied
2. Uninstall "libtest-base-perl" package
Here is a brief guide to show you how to uninstall libtest-base-perl on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
libtest-base-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libtest-base-perl package on Ubuntu 21.10 (Impish Indri)
Package: libtest-base-perl
Architecture: all
Version: 0.89-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 83
Depends: perl, libalgorithm-diff-perl, libspiffy-perl (>= 0.40), libtext-diff-perl
Recommends: libtest-deep-perl, libyaml-perl
Filename: pool/universe/libt/libtest-base-perl/libtest-base-perl_0.89-1_all.deb
Size: 32040
MD5sum: 15b1388b81d7d83b63bb1ac51a7e9266
SHA1: b5d92db3f76384705804e1ca3c86ae09fa9b5600
SHA256: 9ee51d760fbac8d2be59017f8485a5d4f7a9cedf810bc4737d26bc9f28db21c5
SHA512: 411e42bffba761d385bf32d84035f476b1cee9001817ad48ac9ce859811ecdd2e91a2f63b0277cd7b3ca59e9ae29cc708975141ea7c563b32467ee78e8902c18
Homepage: https://metacpan.org/release/Test-Base
Description-en: data driven testing framework for Perl
Testing is usually the ugly part of Perl module authoring. Perl gives you a
standard way to run tests with Test::Harness, and basic testing primitives
with Test::More. After that you are pretty much on your own to develop a
testing framework and philosophy. Test::More encourages you to make your own
framework by subclassing Test::Builder, but that is not trivial.
.
Test::Base gives you a way to write your own test framework base class that is
trivial. In fact it is as simple as two lines:
package MyTestFramework;
use Test::Base -Base;
.
A module called MyTestFramework.pm containing those two lines, will give all
the power of Test::More and all the power of Test::Base to every test file
that uses it. As you build up the capabilities of MyTestFramework, your tests
will have all of that power as well.
.
MyTestFramework becomes a place for you to put all of your reusable testing
bits. As you write tests, you will see patterns and duplication, and you can
"upstream" them into MyTestFramework. Of course, you don't have to subclass
Test::Base at all. You can use it directly in many applications, including
everywhere you would use Test::More.
.
Test::Base concentrates on offering reusable data driven patterns, so that you
can write tests with a minimum of code. At the heart of all testing you have
inputs, processes and expected outputs. Test::Base provides some clean ways
for you to express your input and expected output data, so you can spend your
time focusing on that rather than your code scaffolding.
Description-md5: 85a0daee4fe81efb1dfe2814d80c81c9
Architecture: all
Version: 0.89-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 83
Depends: perl, libalgorithm-diff-perl, libspiffy-perl (>= 0.40), libtext-diff-perl
Recommends: libtest-deep-perl, libyaml-perl
Filename: pool/universe/libt/libtest-base-perl/libtest-base-perl_0.89-1_all.deb
Size: 32040
MD5sum: 15b1388b81d7d83b63bb1ac51a7e9266
SHA1: b5d92db3f76384705804e1ca3c86ae09fa9b5600
SHA256: 9ee51d760fbac8d2be59017f8485a5d4f7a9cedf810bc4737d26bc9f28db21c5
SHA512: 411e42bffba761d385bf32d84035f476b1cee9001817ad48ac9ce859811ecdd2e91a2f63b0277cd7b3ca59e9ae29cc708975141ea7c563b32467ee78e8902c18
Homepage: https://metacpan.org/release/Test-Base
Description-en: data driven testing framework for Perl
Testing is usually the ugly part of Perl module authoring. Perl gives you a
standard way to run tests with Test::Harness, and basic testing primitives
with Test::More. After that you are pretty much on your own to develop a
testing framework and philosophy. Test::More encourages you to make your own
framework by subclassing Test::Builder, but that is not trivial.
.
Test::Base gives you a way to write your own test framework base class that is
trivial. In fact it is as simple as two lines:
package MyTestFramework;
use Test::Base -Base;
.
A module called MyTestFramework.pm containing those two lines, will give all
the power of Test::More and all the power of Test::Base to every test file
that uses it. As you build up the capabilities of MyTestFramework, your tests
will have all of that power as well.
.
MyTestFramework becomes a place for you to put all of your reusable testing
bits. As you write tests, you will see patterns and duplication, and you can
"upstream" them into MyTestFramework. Of course, you don't have to subclass
Test::Base at all. You can use it directly in many applications, including
everywhere you would use Test::More.
.
Test::Base concentrates on offering reusable data driven patterns, so that you
can write tests with a minimum of code. At the heart of all testing you have
inputs, processes and expected outputs. Test::Base provides some clean ways
for you to express your input and expected output data, so you can spend your
time focusing on that rather than your code scaffolding.
Description-md5: 85a0daee4fe81efb1dfe2814d80c81c9