-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
33 lines (30 loc) · 816 Bytes
/
Copy pathpyproject.toml
File metadata and controls
33 lines (30 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[project]
name = "stack-test-example-python"
version = "1.0.0"
description = "Minimal stack test example in Python"
requires-python = ">=3.12"
dependencies = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-timeout>=2.3.0",
"docker>=7.0.0",
"httpx>=0.27.0",
]
[project.optional-dependencies]
dev = [
"pytest-cov>=4.1.0",
"pytest-xdist>=3.5.0", # For parallel execution (disabled by default for stack tests)
]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
timeout = 300
timeout_method = "thread"
addopts = "-v --tb=short -p no:xdist" # Run sequentially by default
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"