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

Last updated: December 26,2024

1. Install "python39-pytest-randomly" package

This is a short guide on how to install python39-pytest-randomly on openSuSE Tumbleweed

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

2. Uninstall "python39-pytest-randomly" package

This guide let you learn how to uninstall python39-pytest-randomly on openSuSE Tumbleweed:

$ sudo zypper remove python39-pytest-randomly

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

Information for package python39-pytest-randomly:
-------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python39-pytest-randomly
Version : 3.15.0-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 44.4 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.