How To Install btest on Fedora 36
Introduction
In this tutorial we learn how to install btest
on Fedora 36.
What is btest
The btest is a simple framework for writing unit tests. Freely borrowing some ideas from other packages, it’s main objective is to provide an easy-to-use, straightforward driver for a suite of shell-based tests. Each test consists of a set of command lines that will be executed, and success is determined based on their exit codes. btest comes with some additional tools that can be used within such tests to compare output against a previously established baseline.
We can use yum
or dnf
to install btest
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install btest.
Install btest on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install btest
using dnf
by running the following command:
sudo dnf -y install btest
Install btest on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install btest
using yum
by running the following command:
sudo yum -y install btest
How To Uninstall btest on Fedora 36
To uninstall only the btest
package we can use the following command:
sudo dnf remove btest
btest Package Contents on Fedora 36
/usr/bin/btest
/usr/bin/btest-ask-update
/usr/bin/btest-bg-run
/usr/bin/btest-bg-run-helper
/usr/bin/btest-bg-wait
/usr/bin/btest-diff
/usr/bin/btest-diff-rst
/usr/bin/btest-progress
/usr/bin/btest-rst-cmd
/usr/bin/btest-rst-include
/usr/bin/btest-rst-pipe
/usr/bin/btest-setsid
/usr/lib/python3.10/site-packages/__pycache__
/usr/lib/python3.10/site-packages/__pycache__/btest-sphinx.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/btest-sphinx.cpython-310.pyc
/usr/lib/python3.10/site-packages/btest-0.57-py3.10.egg-info
/usr/lib/python3.10/site-packages/btest-sphinx.py
/usr/share/doc/btest
/usr/share/doc/btest/README
References
Summary
In this tutorial we learn how to install btest
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).