-
Notifications
You must be signed in to change notification settings - Fork 27
/
test.py
37 lines (31 loc) · 879 Bytes
/
test.py
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
"""Some simple tests for the classes that read and write to files
Author:
(C) Marvin Mager - @mvnmgrx - 2022
License identifier:
GPL-3.0
"""
import unittest
import os
import sys
PROJECT_PATH = os.getcwd()
SOURCE_PATH = os.path.join(
PROJECT_PATH, "src"
)
sys.path.append(SOURCE_PATH)
from tests.test_board import *
from tests.test_designrules import *
from tests.test_footprint import *
from tests.test_libtable import *
from tests.test_schematic import *
from tests.test_symbol import *
from tests.test_worksheets import *
from tests.test_misc import *
from tests.reporter.runner import HTMLTestRunner
if __name__ == "__main__":
unittest.main(testRunner=HTMLTestRunner(
combine_reports = True,
verbosity = 3,
report_title = 'KiUtils Unittest Report',
report_name = 'KiUtils_Testreport',
open_in_browser = True
))