linguaielts-api / backend /pytest.ini
phuc1st
test: implement integration tests (L2-4), Pinia store unit tests (L5), and Playwright E2E tests (L6)
d73f1da
Raw
History Blame Contribute Delete
555 Bytes
[pytest]
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
testpaths = tests
pythonpath = .
markers =
unit: Các unit test nhanh, không cần IO thật (fast, no real IO)
integration: Các test cần DB / HTTP thật (requires DB or HTTP)
ml: Các test liên quan đến ML/AI pipeline (heavy, slow) — bị skip trong CI thường
smoke: Subset tối thiểu để kiểm tra sanity
filterwarnings =
ignore::DeprecationWarning:passlib.*
ignore::DeprecationWarning:jose.*