-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathpytest.ini
More file actions
47 lines (40 loc) · 1.18 KB
/
pytest.ini
File metadata and controls
47 lines (40 loc) · 1.18 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
[pytest]
# Minimum pytest version
minversion = 7.0
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
-ra
--strict-markers
--color=yes
--cov=zircolite
--cov-report=term-missing
--cov-report=html
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
requires_evtx: marks tests that require pyevtx-rs
requires_lxml: marks tests that require lxml
requires_sigma: marks tests that require pySigma
requires_py7zr: marks tests that require the py7zr 7-Zip library
# Logging configuration
log_cli = false
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
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Timeout for tests (in seconds) - requires pytest-timeout
# timeout = 300
# Coverage options (if pytest-cov is installed)
# addopts = --cov=zircolite --cov-report=term-missing --cov-report=html