-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
19 lines (16 loc) · 723 Bytes
/
pytest.ini
File metadata and controls
19 lines (16 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pytest.ini
[pytest]
markers =
unit: marks tests as unit tests (deselect with '-m "not unit"')
integration: marks tests as integration tests (deselect with '-m "not integration"')
slow: marks tests as slow (deselect with '-m "not slow"')
performance: marks tests as performance/benchmark tests (deselect with '-m "not performance"')
boundary: marks tests as boundary/edge case tests (deselect with '-m "not boundary"')
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts = -v --tb=short --strict-markers
# Coverage options (if pytest-cov is installed)
# addopts = --cov=TinyLensGpu --cov-report=html --cov-report=term-missing