{"library":"pytest-integration-mark","title":"pytest-integration-mark","description":"A pytest plugin that automatically marks tests with 'integration' based on custom markers and provides options to exclude, include, or run only integration tests. Current version: 0.2.0. Maintained by Barbora Data Science.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pytest-integration-mark"],"cli":null},"imports":["def pytest_configure(config): ..."],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# In conftest.py or test file\nimport pytest\n\n# Mark a test as integration\n@pytest.mark.integration\ndef test_my_integration():\n    assert True\n\n# Run only integration tests: pytest -m integration\n# Exclude integration tests: pytest --no-integration\n# Only integration tests: pytest --only-integration","lang":"python","description":"To use, simply add @pytest.mark.integration to your tests. Then run pytest with --no-integration to skip them, or --only-integration to run only integration tests.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}