How To Install python-pytest-bdd-doc on Fedora 36

In this tutorial we learn how to install python-pytest-bdd-doc in Fedora 36. python-pytest-bdd-doc is Documentation for pytest-bdd

Introduction

In this tutorial we learn how to install python-pytest-bdd-doc on Fedora 36.

What is python-pytest-bdd-doc

pytest-bdd implements a subset of the Gherkin language to enable automating project requirements testing and to facilitate behavioral driven development. Unlike many other BDD tools, it does not require a separate runner and benefits from the power and flexibility of pytest. It enables unifying unit and functional tests, reduces the burden of continuous integration server configuration and allows the reuse of test setups. Pytest fixtures written for unit tests can be reused for setup and actions mentioned in feature steps with dependency injection. This allows a true BDD just-enough specification of the requirements without maintaining any context object containing the side effects of Gherkin imperative declarations.

We can use yum or dnf to install python-pytest-bdd-doc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python-pytest-bdd-doc.

Install python-pytest-bdd-doc 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 python-pytest-bdd-doc using dnf by running the following command:

sudo dnf -y install python-pytest-bdd-doc

Install python-pytest-bdd-doc 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 python-pytest-bdd-doc using yum by running the following command:

sudo yum -y install python-pytest-bdd-doc

How To Uninstall python-pytest-bdd-doc on Fedora 36

To uninstall only the python-pytest-bdd-doc package we can use the following command:

sudo dnf remove python-pytest-bdd-doc

python-pytest-bdd-doc Package Contents on Fedora 36

/usr/share/doc/python-pytest-bdd-doc
/usr/share/doc/python-pytest-bdd-doc/AUTHORS.rst
/usr/share/doc/python-pytest-bdd-doc/CHANGES.rst
/usr/share/doc/python-pytest-bdd-doc/Pytest-BDD.pdf
/usr/share/doc/python-pytest-bdd-doc/README.rst
/usr/share/licenses/python-pytest-bdd-doc
/usr/share/licenses/python-pytest-bdd-doc/LICENSE.txt

References

Summary

In this tutorial we learn how to install python-pytest-bdd-doc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).