
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
A Pytest plugin for running a subset of your tests by splitting them in to equally sized groups.
.. image:: https://img.shields.io/pypi/v/pytest-test-groups.svg :target: https://pypi.org/project/pytest-test-groups/
.. image:: https://img.shields.io/pypi/pyversions/pytest-test-groups.svg :target: https://pypi.org/project/pytest-test-groups/
.. image:: https://github.com/mark-adams/pytest-test-groups/actions/workflows/python-tests.yml/badge.svg :target: https://github.com/mark-adams/pytest-test-groups/actions?query=workflow%3Apython-tests
pytest-test-groups allows you to split your test runs into groups of a specific size to make it easier to split up your test runs.
::
# Install pytest-test-groups
pip install pytest-test-groups
# Split the tests into 10 groups and run the second group
py.test --test-group-count 10 --test-group=2
# Assign tests pseudo-randomly into 10 groups, and run the second group
py.test --test-group-count 10 --test-group=2 --test-group-random-seed=12345
# Split the tests by files instead of items into 3 groups and run the second group.
# The groups might not be in the same size as each group contains full test files
py.test --test-group-count 10 --test-group=2 --test-group-by filename
Sometimes you may have some long running test jobs that take a while to complete. This can be a major headache when trying to run tests quickly. pytest-test-groups allows you to easily say "split my tests into groups of 10 tests and run the second group". This is primarily useful in the context of CI builds.
FAQs
A Pytest plugin for running a subset of your tests by splitting them in to equally sized groups.
We found that pytest-test-groups demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.