-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpytest.ini
More file actions
31 lines (26 loc) · 732 Bytes
/
pytest.ini
File metadata and controls
31 lines (26 loc) · 732 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
[pytest]
# ----------------------------------------
# Allgemeine Testkonfiguration
# ----------------------------------------
# Verzeichnis, in dem pytest nach Tests sucht
testpaths =
tests
# Dateinamenmuster für Test-Dateien
python_files =
test_*.py
# Namenskonvention für Testfunktionen (optional, hilfreich für CI)
python_functions =
test__*
# Ausgabeoptionen
addopts =
--strict-markers
--color=yes
--cov=freeplane
--cov-report=term-missing
--cov-report=html
# --tb=short
# --disable-warnings
# Testmarker (Beispiele – können beliebig erweitert werden)
markers =
slow: Langsame Tests (z. B. große Mindmaps)
integration: Integrationstests, die externe Ressourcen nutzen