Complete testing system: pyproject.toml (pytest markers), test.sh orchestrator with auto app start/stop and colorful summary, pre-push hook, Gitea Actions workflow. New QA tests: API health (7 endpoints), responsive (3 viewports), log monitoring (ERROR/ORA-/Traceback detection), real GoMag sync, PL/SQL package validation, smoke prod (read-only). Converted test_app_basic.py and test_integration.py to pytest. Added pytestmark to all existing tests (unit/e2e/oracle). E2E conftest upgraded: console error collector, screenshot on failure, auto-detect live app on :5003. Usage: ./test.sh ci (30s) | ./test.sh full (2-3min) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
394 B
TOML
12 lines
394 B
TOML
[tool.pytest.ini_options]
|
|
testpaths = ["api/tests"]
|
|
asyncio_mode = "auto"
|
|
markers = [
|
|
"unit: SQLite tests, no Oracle, no browser",
|
|
"oracle: Requires live Oracle connection",
|
|
"e2e: Browser-based Playwright tests",
|
|
"qa: QA tests (API health, responsive, log monitor)",
|
|
"sync: Full sync cycle GoMag to Oracle",
|
|
"smoke: Smoke tests for production (requires running app)",
|
|
]
|