PruefManager und Daten aus P41 übertragen

This commit is contained in:
2025-12-02 20:55:51 +01:00
parent 788bac2a23
commit 1881af93f8
25 changed files with 2567 additions and 295 deletions

29
test/run_tests.py Normal file
View File

@@ -0,0 +1,29 @@
import sys
import os
import unittest
# Projekt-Root dem Suchpfad hinzufügen
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
if project_root not in sys.path:
sys.path.insert(0, project_root)
def main():
loader = unittest.TestLoader()
suite = unittest.TestSuite()
test_modules = [
"test_dateipruefer",
"test_stilpruefer",
"test_linkpruefer",
# "test_pruefmanager" enthält QGIS-spezifische Funktionen
]
for mod_name in test_modules:
mod = __import__(mod_name)
suite.addTests(loader.loadTestsFromModule(mod))
runner = unittest.TextTestRunner(verbosity=2)
runner.run(suite)
if __name__ == "__main__":
main()