-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
53 lines (44 loc) · 1009 Bytes
/
pytest.ini
File metadata and controls
53 lines (44 loc) · 1009 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[pytest]
# Pytest configuration for discord-web-clipper
# Asyncio mode for pytest-asyncio
asyncio_mode = auto
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum Python version
minversion = 7.0
# Test paths
testpaths = tests
# Coverage options
addopts =
--verbose
--strict-markers
--tb=short
--cov=bot
--cov=services
--cov=ui
--cov-report=term-missing
--cov-report=html
--cov-fail-under=0
# Markers for organizing tests
markers =
asyncio: marks tests as async (deselect with '-m "not asyncio"')
integration: marks tests as integration tests (deselect with '-m "not integration"')
unit: marks tests as unit tests
# Ignore patterns
norecursedirs =
.git
.pytest_cache
__pycache__
*.egg-info
.venv
venv
node_modules
cdk
# Console output
console_output_style = progress
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning