{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"A pytest plugin that runs tests in reverse order to detect test interdependencies and ordering issues.","skillfed_tags":["test-isolation","pytest-plugin"],"use_cases":["Run your test suite backwards to catch tests that pass only due to side effects from earlier tests.","Debug flaky tests by checking if they fail when executed in reverse order.","Add --reverse to pytest.ini to make reverse execution the default for your project.","Verify test independence before committing code that modifies test fixtures or setup.","Complement randomized testing strategies with a deterministic reverse run."],"what_it_does":"pytest-reverse is a pytest plugin that reverses the order in which tests are executed. It works by adding a --reverse flag to pytest, allowing you to run your test suite backwards instead of in the default or randomized order. The plugin is automatically discovered by pytest once installed.\n\nTest reversal helps identify tests that depend on execution order or shared state\u2014a common source of flaky tests and false positives. By running tests in reverse, you can detect whether a passing test only passes because an earlier test set up some state, or whether a test fails only when preceded by a specific other test. This is a lightweight alternative to full randomization for uncovering test isolation issues.","worth_installing":"Yes. Low install friction, no security issues, actively maintained, and a focused tool that solves a real problem in test reliability. Useful for any project where test ordering might mask failures or dependencies."},"id":"pytest-reverse","links":{"html":"https://skillfed.io/packages/pytest-reverse","md":"https://skillfed.io/packages/pytest-reverse.md","pypi":"https://pypi.org/project/pytest-reverse/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-09","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-reverse","python_support":"supports_current","summary":"Pytest plugin to reverse test order."},"popularity":{"monthly_downloads":74991,"position":14761,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.0"}
