pytest-ordering
pytest plugin to run your tests in a specific order
Decision gist · record as of 2026-08-14
No. The package is abandoned and explicitly superseded by pytest-order. While it has low install friction and no known vulnerabilities, the lack of maintenance since 2018 and the author's own recommendation to use pytest-order make it unsuitable for new projects. Use pytest-order instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pytest as a runtime dependency; package is no longer maintained and the author recommends migrating to pytest-order.
- Installation is straightforward with low friction, but the package is abandoned as of 2018 and has not been maintained for several years.
- The maintainer explicitly recommends pytest-order as a replacement.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so there are no restrictions on use or redistribution in commercial or private projects.
last release 2018-10-25 (2850 days) · last repo commit 2021-08-25 · 234 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,754,298 downloads/mo, #2,905 on PyPI
Alternatives
Verify before relying
pip install pytest-ordering
import pytest
@pytest.mark.run(order=1)
def test_first():
assert True
@pytest.mark.run(order=2)
def test_second():
assert True- Compatibility with modern pytest versions (package last released in 2018, last commit 2021-08-25) is unverified.
- Whether the package works reliably with current Python versions beyond those listed in classifiers (Python 2.6–3.3, PyPy).
What it is and what it does
pytest-ordering is a pytest plugin that adds markers allowing you to specify the execution order of your tests. You decorate test functions with @pytest.mark.run(order=N) to control when they run relative to other tests, enabling scenarios where one test must run before another or a group of tests must execute in a particular sequence.
The package is abandoned and no longer maintained; the author explicitly directs new users to pytest-order as a replacement. While it remains installable and has no known security vulnerabilities, it has not been updated since 2018 and is not recommended for new projects or ongoing maintenance.
Use it for
- Ensure a setup test runs before all others and a teardown test runs last in your suite.
- Run integration tests in a specific order when later tests depend on state created by earlier ones.
- Prioritize critical tests to run first, deferring slower or less important tests to the end.
- Enforce a sequence of tests that must execute in order to validate a workflow or data pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned and explicitly superseded by pytest-order. While it has low install friction and no known vulnerabilities, the lack of maintenance since 2018 and the author's own recommendation to use pytest-order make it unsuitable for new projects. Use pytest-order instead.
Install
pytest-ordering on PyPI
Before you install
Installation is straightforward with low friction, but the package is abandoned as of 2018 and has not been maintained for several years. The maintainer explicitly recommends pytest-order as a replacement.
Requires pytest as a runtime dependency; package is no longer maintained and the author recommends migrating to pytest-order.
License in practice
Licensed under MIT (permissive), so there are no restrictions on use or redistribution in commercial or private projects.
Quickstart
pip install pytest-ordering
import pytest
@pytest.mark.run(order=1)
def test_first():
assert True
@pytest.mark.run(order=2)
def test_second():
assert True
Verify before relying
- Compatibility with modern pytest versions (package last released in 2018, last commit 2021-08-25) is unverified.
- Whether the package works reliably with current Python versions beyond those listed in classifiers (Python 2.6–3.3, PyPy).
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytest |
| Maintenance | Abandoned 2,850 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,754,298 / month, #2,905 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: pytest_ordering-0.6-py2-none-any.whl; pytest_ordering-0.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “run tests in specific order”
- pytest-orderingA pytest plugin that lets you control the execution order of your…
- pytest-orderA pytest plugin that lets you control the order in which tests run…
- pytest-random-orderA pytest plugin that randomizes the order in which tests run, helping…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also pytest-order · pytest_tagging · pytest-isort · pytest-testrail · pytest-replay · pytest-randomly · pytest-find-dependencies · pytest-integration · pytest-jira-xray · pytest-catchlog