How to Install and Uninstall python312-pytest-reorder Package on openSuSE Tumbleweed
Last updated: November 24,2024
1. Install "python312-pytest-reorder" package
Please follow the guidance below to install python312-pytest-reorder on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python312-pytest-reorder
Copied
2. Uninstall "python312-pytest-reorder" package
This is a short guide on how to uninstall python312-pytest-reorder on openSuSE Tumbleweed:
$
sudo zypper remove
python312-pytest-reorder
Copied
3. Information about the python312-pytest-reorder package on openSuSE Tumbleweed
Information for package python312-pytest-reorder:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pytest-reorder
Version : 0.1.1-2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 23.7 KiB
Installed : No
Status : not installed
Source package : python-pytest-reorder-0.1.1-2.9.src
Upstream URL : https://github.com/not-raspberry/pytest_reorder
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.
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pytest-reorder
Version : 0.1.1-2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 23.7 KiB
Installed : No
Status : not installed
Source package : python-pytest-reorder-0.1.1-2.9.src
Upstream URL : https://github.com/not-raspberry/pytest_reorder
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.