{"library":"pytest-reverse","title":"pytest-reverse","description":"A pytest plugin that reverses the order of test execution. Useful for detecting tests that accidentally depend on order or for randomization. Current version 1.9.0, compatible with Python >=3.9.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pytest-reverse"],"cli":null},"imports":["pytest.mark.reverse"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Run all tests in reverse order\npytest --reverse\n\n# Reverse a single test with marker\nimport pytest\n\n@pytest.mark.reverse()\ndef test_one():\n    assert True\n\ndef test_two():\n    assert True","lang":"python","description":"Use --reverse flag to reverse entire test session, or @pytest.mark.reverse() marker to reverse only specific tests.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}