# pytest.ini または pyproject.toml で定義 # markers = # slow: 時間がかかるテスト # integration: 統合テスト @pytest.mark.slow def test_heavy_computation(): # 時間がかかる処理 pass @pytest.mark.integration def test_api_integration ...