-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
48 lines (43 loc) · 917 Bytes
/
pytest.ini
File metadata and controls
48 lines (43 loc) · 917 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
[pytest]
# Test discovery and execution
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output configuration
addopts =
--verbose
--capture=no
--showlocals
--tb=short
--cov=.
--cov-report=term-missing
--cov-report=html
--benchmark-only
--benchmark-autosave
# Logging configuration
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
# Benchmark configuration
benchmark_storage = .benchmarks
benchmark_min_rounds = 100
benchmark_warmup = auto
# Coverage configuration
[coverage:run]
source = .
omit =
tests/*
setup.py
venv/*
env/*
.env/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise NotImplementedError
if __name__ == .__main__.:
pass
raise ImportError