bashANYpytestselection
bash
pytest -k "user and not slow"pytest and unittest debugging patterns for isolating failures, flaky tests, fixtures, and CI-only issues.
pytest -k "user and not slow"pytest -m integrationpytest --maxfail=2pytest --setup-showpytest --setup-planpytest --capture=nowhile pytest tests/test_jobs.py::test_sync_worker; do :; doneimport os
def test_env_debug():
print({k: os.environ.get(k) for k in ['CI', 'APP_ENV', 'DATABASE_URL']})