Path to this page:
./
devel/py-test-randomly,
Pytest plugin to randomly order tests and control random.seed
Branch: CURRENT,
Version: 3.16.0,
Package name: py312-test-randomly-3.16.0,
Maintainer: pkgsrc-usersPytest plugin to randomly order tests and control random.seed.
* 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 a 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 - factory boy uses faker for
lots of data.
Required to run:[
devel/py-setuptools] [
devel/py-test] [
lang/python37] [
devel/py-importlib-metadata]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 13.054 KB
Version history: (Expand)
- (2024-11-03) Updated to version: py312-test-randomly-3.16.0
- (2023-10-28) Updated to version: py311-test-randomly-3.15.0nb1
- (2023-08-27) Updated to version: py311-test-randomly-3.15.0
- (2023-07-24) Updated to version: py310-test-randomly-3.13.0
- (2022-09-08) Updated to version: py310-test-randomly-3.12.0
- (2022-01-05) Updated to version: py39-test-randomly-3.3.1nb1
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-11-03 08:52:58 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-randomly: updated to 3.16.0
3.16.0 (2024-10-25)
* Drop Python 3.8 support.
* Support Python 3.13.
|
2024-01-20 17:07:57 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-test-randomly: add missing tool
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-08-27 22:19:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-test-randomly: updated to 3.15.0
3.15.0 (2023-08-15)
* Support Python 3.12.
3.14.0 (2023-08-15)
* Reset the random state for `Model Bakery \
<https://model-bakery.readthedocs.io/en/latest/>`__.
|
2023-07-24 20:51:09 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-randomly: updated to 3.13.0
3.13.0 (2023-07-10)
* Drop Python 3.7 support.
|
2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96) |
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
|
2022-09-08 09:44:36 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-test-randomly: updated to 3.12.0
3.12.0 (2022-05-11)
-------------------
* Support Python 3.11.
3.11.0 (2022-01-10)
-------------------
* Drop Python 3.6 support.
3.10.3 (2021-11-30)
-------------------
* Work on FIPS Python 3.9+, by declaring use of ``hashlib.md5()`` as not used \
for security.
3.10.2 (2021-11-10)
-------------------
* Fix crash when pytest’s cacheprovider is disabled.
* Improve group name in ``pytest --help``.
3.10.1 (2021-08-13)
-------------------
* Fix new shuffling to work when one or more test in a class or module have the
same test id.
3.10.0 (2021-08-13)
-------------------
* Rework shuffling algorithm to use hashing. This means that running a subset
of tests with the same seed will now produce the same ordering as running the
full set of tests. This allows narrowing down ordering-related failures.
* Shuffle before other test collection hooks. This allows
pytest’s `--stepwise flag
<https://docs.pytest.org/en/latest/cache.html#stepwise>`__ to work, among
other things.
3.9.0 (2021-08-12)
------------------
* Add type hints.
3.8.0 (2021-05-10)
------------------
* Support Python 3.10.
3.7.0 (2021-04-11)
------------------
* Drop dependency on ``backports.entry-points-selectable`` by depending on
``importlib-metadata`` version 3.6.0+.
3.6.0 (2021-04-01)
------------------
* Fix deprecation warning from importlib-metadata 3.9.0+.
* Stop distributing tests to reduce package size. Tests are not intended to be
run outside of the tox setup in the repository. Repackagers can use GitHub's
tarballs per tag.
* Drop Python 3.5 support.
3.5.0 (2020-11-16)
------------------
* Support Python 3.9.
* Move license from BSD to MIT License.
3.4.1 (2020-07-10)
------------------
* Fix numpy error ``ValueError: Seed must be between 0 and 2**32 - 1`` when
passed a seed outside of this range.
3.4.0 (2020-05-27)
------------------
* Provide a ``faker_seed`` fixture to set the seed for tests using faker's
pytest fixtures
|