{"id":24422,"library":"pytest-explicit","title":"pytest-explicit","description":"A Pytest plugin that allows tests to be marked as `@pytest.mark.explicit`, causing them to be skipped by default. Tests can be explicitly run by passing the `--explicit` flag. Version 1.0.1 is the latest and stable, with no new releases since 2021.","status":"active","version":"1.0.1","language":"python","source_language":"en","source_url":"https://github.com/taliamax/pytest-explicit","tags":["pytest","plugin","explicit","markers","skip"],"install":[{"cmd":"pip install pytest-explicit","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Required plugin host","package":"pytest","optional":false}],"imports":[{"note":"No import needed; just use the marker.","wrong":"","symbol":"pytest.mark.explicit","correct":"import pytest"},{"note":"CLI flag, no import.","wrong":"","symbol":"--explicit","correct":"pytest --explicit"}],"quickstart":{"code":"# test_example.py\nimport pytest\n\n@pytest.mark.explicit\ndef test_slow():\n    assert True\n\ndef test_fast():\n    assert True\n\n# Run with: pytest --explicit  # runs both\n# Run without: pytest          # skips test_slow\n","lang":"python","description":"Mark a test with @pytest.mark.explicit to skip it by default. Use --explicit flag to include it."},"warnings":[{"fix":"Use exactly `@pytest.mark.explicit` (spelling: e-x-p-l-i-c-i-t).","message":"The marker name is `explicit`, not `explicitly` or `explicit_test`. Typos will not be recognized by the plugin and the test will run normally, causing confusion.","severity":"gotcha","affected_versions":"all"},{"fix":"Run `pytest --explicit tests/` instead of `pytest tests/ --explicit`.","message":"The `--explicit` flag must be placed before any positional arguments or test file paths. If placed after, it may be ignored.","severity":"gotcha","affected_versions":"all"},{"fix":"Test your pytest version; if incompatible, consider using pytest's built-in `--markers` or `-k` expressions.","message":"This plugin has not been updated since 2021 and may not be compatible with newer pytest versions (e.g., pytest 8+). No known breaking changes as of pytest 7.x.","severity":"deprecated","affected_versions":"pytest >= 8.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install pytest-explicit` and verify with `pip list | grep pytest-explicit`.","cause":"pytest-explicit is not installed or not correctly installed in the current environment.","error":"pytest: error: unrecognized arguments: --explicit"},{"fix":"Add `import pytest` at the top of your test file.","cause":"Using pytest.mark without importing pytest first, or running pytest incorrectly (e.g., with a different Python interpreter).","error":"AttributeError: module 'pytest' has no attribute 'mark'"},{"fix":"Upgrade pytest-explicit: `pip install --upgrade pytest-explicit`; if persists, reinstall with `pip install --force-reinstall pytest-explicit`.","cause":"Conflicting pytest plugins or an outdated version of pytest-explicit.","error":"Failed: Could not load plugin 'pytest_explicit'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}