How to Install and Uninstall python312-pytest-randomly Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "python312-pytest-randomly" package

Here is a brief guide to show you how to install python312-pytest-randomly on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-pytest-randomly

2. Uninstall "python312-pytest-randomly" package

In this section, we are going to explain the necessary steps to uninstall python312-pytest-randomly on openSuSE Tumbleweed:

$ sudo zypper remove python312-pytest-randomly

3. Information about the python312-pytest-randomly package on openSuSE Tumbleweed

Information for package python312-pytest-randomly:
--------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-pytest-randomly
Version : 3.15.0-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 51.9 KiB
Installed : No
Status : not installed
Source package : python-pytest-randomly-3.15.0-1.2.src
Upstream URL : https://github.com/pytest-dev/pytest-randomly
Summary : Pytest plugin to randomly order tests and control random.seed
Description :
Pytest plugin to randomly order tests and control random.seed.
Features:
* Randomly shuffles the order of test items. This is done first at
the level of modules, then at the level of test classes (if you
have them), then at the order of functions. This also works with
things like doctests.
* Resets random.seed() at the start of every test case and test to
fixed number - this defaults to time.time() from the start of
your test run, but you can pass in --randomly-seed to repeat a
randomness-induced failure.
* If factory boy is installed, its random state is reset at the
start of every test. This allows for repeatable use of its random
'fuzzy' features.
* If faker is installed, its random state is reset at the start of
every test. This is also for repeatable fuzzy data in tests.
* If numpy is installed, its random state is reset at the start of
every test.