-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (40 loc) · 1.1 KB
/
pytest.ini
File metadata and controls
50 lines (40 loc) · 1.1 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[pytest]
# Pytest configuration for StillMe
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (slower, may require external services)
slow: Slow tests (may take > 1 second)
api: Tests that make API calls
network: Tests that require network access
database: Tests that use databases
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
-ra
# Coverage options (when using pytest-cov)
# Coverage is configured via command line: --cov=backend --cov-report=html
# Asyncio configuration
asyncio_mode = auto
# Minimum Python version
minversion = 7.0
# Test timeout (in seconds) - optional, can be set per test
timeout = 300
# Logging
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:chromadb.*