audit: clean Docker architecture, consolidate test fixtures, add containerized test runner (#94)
This commit is contained in:
committed by
GitHub
parent
1e19164379
commit
d7d7a5a80a
@@ -54,6 +54,7 @@ pytest-asyncio = { version = ">=0.24.0", optional = true }
|
||||
pytest-cov = { version = ">=5.0.0", optional = true }
|
||||
pytest-timeout = { version = ">=2.3.0", optional = true }
|
||||
selenium = { version = ">=4.20.0", optional = true }
|
||||
pytest-randomly = { version = ">=3.16.0", optional = true }
|
||||
|
||||
[tool.poetry.extras]
|
||||
swarm = ["redis"]
|
||||
@@ -61,7 +62,7 @@ telegram = ["python-telegram-bot"]
|
||||
discord = ["discord.py"]
|
||||
bigbrain = ["airllm"]
|
||||
voice = ["pyttsx3"]
|
||||
dev = ["pytest", "pytest-asyncio", "pytest-cov", "pytest-timeout", "selenium"]
|
||||
dev = ["pytest", "pytest-asyncio", "pytest-cov", "pytest-timeout", "pytest-randomly", "selenium"]
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = ">=8.0.0"
|
||||
@@ -69,6 +70,7 @@ pytest-asyncio = ">=0.24.0"
|
||||
pytest-cov = ">=5.0.0"
|
||||
pytest-timeout = ">=2.3.0"
|
||||
selenium = ">=4.20.0"
|
||||
pytest-randomly = "^4.0.1"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
timmy = "timmy.cli:main"
|
||||
@@ -85,9 +87,15 @@ addopts = "-v --tb=short --timeout=30"
|
||||
markers = [
|
||||
"unit: Unit tests (fast, no I/O)",
|
||||
"integration: Integration tests (may use SQLite)",
|
||||
"functional: Functional tests (real HTTP requests, no mocking)",
|
||||
"e2e: End-to-end tests (full system, may be slow)",
|
||||
"dashboard: Dashboard route tests",
|
||||
"swarm: Swarm coordinator tests",
|
||||
"slow: Tests that take >1 second",
|
||||
"selenium: Requires Selenium and Chrome (browser automation)",
|
||||
"docker: Requires Docker and docker-compose",
|
||||
"ollama: Requires Ollama service running",
|
||||
"skip_ci: Skip in CI environment (local development only)",
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
|
||||
Reference in New Issue
Block a user