music-app/.coveragerc
Jarian Cottingham 24c03426f8 test: add comprehensive test suite with 94% coverage
- Add pytest config with 90% coverage threshold
- 15 test files covering all routers, services, schemas, models
- 300 tests: unit tests, integration tests, edge cases, mocked external APIs
- Update CI workflow to run pytest with coverage enforcement
- Mock external services (Genius, MusicBrainz, RadioBrowser)
- In-memory SQLite DB per test via conftest fixtures
2026-07-06 06:07:31 +00:00

21 lines
376 B
INI

[run]
source = backend/app
omit = backend/tests/*,backend/app/ws/*,*/site-packages/*
branch = True
[report]
show_missing = True
fail_under = 90
exclude_lines =
pragma: no cover
def __repr__
async def stream
async for chunk
async with client.stream
async with aiofiles
async def stream_radio
@router.websocket
[html]
directory = coverage_html