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

Last updated: November 23,2024

1. Install "python310-pytest-randomly" package

Please follow the instructions below to install python310-pytest-randomly on openSuSE Tumbleweed

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

2. Uninstall "python310-pytest-randomly" package

Learn how to uninstall python310-pytest-randomly on openSuSE Tumbleweed:

$ sudo zypper remove python310-pytest-randomly

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

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