bin/unittest_status
2022-01-17 08:31:56 +01:00

19 lines
515 B
Python
Executable File

#!/home/dirk/bin/venv/bin/python
#
import os
import sys
MY_PATH = os.path.abspath('.')
sys.path.insert(0, os.path.join(MY_PATH, 'report', 'pylibs'))
import unittest
import fstools
module_pathes = fstools.dirlist(MY_PATH, rekursive=False)
module_pathes.sort()
sys.stdout.write(unittest.module_status.module_status_head())
for module_path in module_pathes:
if not os.path.basename(module_path) in ['.git', 'eclipse-workspace']:
sys.stdout.write(unittest.module_status.module_status_line(module_path))