Skip to main content

pytest-repeat is a plugin for py.test that makes it easy to repeat a single test, or multiple tests, a specific number of times.

License PyPI Travis Issues Requirements

Requirements

You will need the following prerequisites in order to use pytest-repeat:

  • Python 2.6, 2.7, 3.2, 3.3, 3.4 or PyPy

  • py.test 2.4 or newer

Installation

To install pytest-repeat:

pip install pytest-repeat

Repeating a test

Use the –count command line option to specify how many times you want your test, or tests, to be run:

py.test --count=10 test_file.py

Each test collected by py.test will be run count times.

Resources

Metadata

Release files for pytest-repeat 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-repeat 0.1
File Size Uploaded
pytest-repeat-0.1.tar.gz 2.3 kB Details

Release files / pytest-repeat-0.1.tar.gz

Download URL pytest-repeat-0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1dfe7720d468a98ee89380c09a3b5707f7936ce47de71c90f521837962070e1
BLAKE2b-256 checksum
How to use checksums
8b645213e139a0eaf954b27944a153272d4067176e11dd72cfd7442bd4ad2d66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2

2 release files

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page