How to Install and Uninstall python2-pytest-reorder Package on openSUSE Leap

Last updated: May 17,2024

1. Install "python2-pytest-reorder" package

Please follow the step by step instructions below to install python2-pytest-reorder on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-pytest-reorder

2. Uninstall "python2-pytest-reorder" package

Here is a brief guide to show you how to uninstall python2-pytest-reorder on openSUSE Leap:

$ sudo zypper remove python2-pytest-reorder

3. Information about the python2-pytest-reorder package on openSUSE Leap

Information for package python2-pytest-reorder:
-----------------------------------------------
Repository : Main Repository
Name : python2-pytest-reorder
Version : 0.1.1-bp153.1.21
Arch : noarch
Vendor : openSUSE
Installed Size : 24,4 KiB
Installed : No
Status : not installed
Source package : python-pytest-reorder-0.1.1-bp153.1.21.src
Summary : Pytest plugin for reordering tests depending on their paths and names
Description :
Reorder tests depending on their nodeids (strings of test file path plus test name plus
parametrization, like:
``test/test_prefix_reordering.py::test_reordering_default[test_names5-expected_test_order5]``).
Normally tests are sorted alphabetically. That makes integration tests run before unit tests.
With **pytest_reorder** you can install a hook that will change the order of tests in the suite.
By default **pytest_reorder** will seek for *unit*, *integration* and *ui* tests and put them in
the following order:
* *unit*
* all tests with names not indicating unit, integration, nor UI tests
* *integration*
* *ui*
The default regular expressions can find unit, integration and UI tests both laid flat and **deeply
nested**. You can also specify your custom order.