Added core test suite

This commit is contained in:
Sven Heidemann 2023-04-07 14:04:39 +02:00
parent 823d524a81
commit 7ff7dbc56b
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ from cpl_core.application import ApplicationABC
from cpl_core.configuration import ConfigurationABC from cpl_core.configuration import ConfigurationABC
from cpl_core.dependency_injection import ServiceProviderABC from cpl_core.dependency_injection import ServiceProviderABC
from unittests_cli.cli_test_suite import CLITestSuite from unittests_cli.cli_test_suite import CLITestSuite
from unittests_core.core_test_suite import CoreTestSuite
from unittests_query.query_test_suite import QueryTestSuite from unittests_query.query_test_suite import QueryTestSuite
from unittests_translation.translation_test_suite import TranslationTestSuite from unittests_translation.translation_test_suite import TranslationTestSuite
@ -17,6 +18,7 @@ class Application(ApplicationABC):
def main(self): def main(self):
runner = unittest.TextTestRunner() runner = unittest.TextTestRunner()
runner.run(CoreTestSuite())
runner.run(CLITestSuite()) runner.run(CLITestSuite())
runner.run(QueryTestSuite()) runner.run(QueryTestSuite())
runner.run(TranslationTestSuite()) runner.run(TranslationTestSuite())

View File

@ -8,7 +8,7 @@ from unittests_query.iterable_test_case import IterableTestCase
from unittests_query.sequence_test_case import SequenceTestCase from unittests_query.sequence_test_case import SequenceTestCase
class QueryTestSuite(unittest.TestSuite): class CoreTestSuite(unittest.TestSuite):
def __init__(self): def __init__(self):
unittest.TestSuite.__init__(self) unittest.TestSuite.__init__(self)
@ -21,4 +21,4 @@ class QueryTestSuite(unittest.TestSuite):
if __name__ == "__main__": if __name__ == "__main__":
runner = unittest.TextTestRunner() runner = unittest.TextTestRunner()
runner.run(QueryTestSuite()) runner.run(CoreTestSuite())