-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
57 lines (49 loc) · 1.07 KB
/
pytest.ini
File metadata and controls
57 lines (49 loc) · 1.07 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
50
51
52
53
54
55
56
57
[pytest]
# Test discovery patterns
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
# Coverage options (optional, uncomment if you want coverage reporting)
# addopts =
# -v
# --tb=short
# --cov=machine-learning/snippets
# --cov=deep-learning/snippets
# --cov-report=term-missing
# --cov-report=html
# Markers (for categorizing tests)
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
# Minimum Python version
minversion = 3.10
# Python path configuration
# This allows tests to import from snippet directories
pythonpath = .
# Ignore patterns
norecursedirs =
.git
.venv
venv
env
__pycache__
*.egg-info
.pytest_cache
node_modules
build
dist
# Test timeout (optional)
# timeout = 300
# Warnings
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning