How to Install libtest-expect-perl in Ubuntu 18.04



Install libtest-expect-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libtest-expect-perl

Description:

module for automated driving and testing of terminal-based programs

Test::Expect is a module for automated driving and testing of terminal-based programs. It is handy for testing interactive programs which have a prompt, and is based on the same concepts as the Tcl Expect tool. As in Expect::Simple, the Expect object is made available for tweaking. . Test::Expect is intended for use in a test script.

Homepage: https://metacpan.org/release/Test-Expect

Version: 0.34-1

Section: universe/perl