-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpytest.ini
31 lines (27 loc) · 916 Bytes
/
pytest.ini
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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Configure test discovery patterns
norecursedirs = .* build dist CVS _darcs *.egg venv env virtualenv .git __pycache__
# Configure test output
addopts =
--verbose
--showlocals
--tb=short
# Configure logging during tests
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
cuda: marks tests that require CUDA
mps: marks tests that require MPS
integration: marks integration tests
core: marks core functionality tests
logging: marks logging system tests
device: marks device management tests
operations: marks operation handler tests
implementations: marks implementation specific tests