How To Install python3-pytest-spec on Fedora 36

In this tutorial we learn how to install python3-pytest-spec in Fedora 36. python3-pytest-spec is Pytest plugin to display test execution output like a SPECIFICATION

Introduction

In this tutorial we learn how to install python3-pytest-spec on Fedora 36.

What is python3-pytest-spec

Pytest plugin to display test execution output like a SPECIFICATION. Available features - Format output to look like specification. - Group tests by classes and files - Failed, passed and skipped are marked and colored. - Remove test_ and underscores for every test.

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

Install python3-pytest-spec 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 python3-pytest-spec using dnf by running the following command:

sudo dnf -y install python3-pytest-spec

Install python3-pytest-spec 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 python3-pytest-spec using yum by running the following command:

sudo yum -y install python3-pytest-spec

How To Uninstall python3-pytest-spec on Fedora 36

To uninstall only the python3-pytest-spec package we can use the following command:

sudo dnf remove python3-pytest-spec

python3-pytest-spec Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pytest_spec
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pytest_spec-3.2.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/pytest_spec/__init__.py
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/patch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/patch.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/replacer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_spec/__pycache__/replacer.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_spec/patch.py
/usr/lib/python3.10/site-packages/pytest_spec/plugin.py
/usr/lib/python3.10/site-packages/pytest_spec/replacer.py
/usr/share/doc/python3-pytest-spec
/usr/share/doc/python3-pytest-spec/CHANGES.txt
/usr/share/doc/python3-pytest-spec/README.md
/usr/share/licenses/python3-pytest-spec
/usr/share/licenses/python3-pytest-spec/LICENSE.txt

References

Summary

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