FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 8979468a authored by Mark Driver's avatar Mark Driver
Browse files

add classes tests.

parent a3a1e9e2
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,13 @@ from phasecalculator.test.runnerstest.phasetransferrunnertest import Phasetransf
from phasecalculator.test.runnerstest.fgipanalysisrunnertest import FGIPAnalysisRunnerTestCase
from phasecalculator.test.runnerstest.vleanalysisrunnertest import VLEAnalysisRunnerTestCase
from phasecalculator.test.analysistest.fgipanalysistest import FGIPAnalysisTestCase
from phasecalculator.test.classestest.moleculetest import MoleculeTestCase
from phasecalculator.test.classestest.outputinformationtest import OutputInformationTestCase
from phasecalculator.test.classestest.phasestest import PhasesTestCase
from phasecalculator.test.classestest.phasetest import PhaseTestCase
from phasecalculator.test.classestest.runtimeinformationtest import RuntimeInformationTestCase
from phasecalculator.test.classestest.systemtest import SystemTestCase
from phasecalculator.test.classestest.temperaturetest import TemperatureTestCase
logging.basicConfig()
LOGGER = logging.getLogger(__name__)
......@@ -47,6 +54,14 @@ ANALYSIS_TEST_CASES = [FGIPAnalysisTestCase,]
MODULE_TEST_CASES = []
CLASSES_TEST_CASES = [MoleculeTestCase,
OutputInformationTestCase,
PhasesTestCase,
PhaseTestCase,
RuntimeInformationTestCase,
SystemTestCase,
TemperatureTestCase]
def create_test_suite():
"""Create a test suite with all the tests from the package.
......@@ -71,6 +86,9 @@ def create_test_suite():
for test_case in MODULE_TEST_CASES:
LOGGER.debug("Adding %s", test_case)
suite.addTests(loader.loadTestsFromTestCase(test_case))
for test_case in CLASSES_TEST_CASES:
LOGGER.debug("Adding %s", test_case)
suite.addTests(loader.loadTestsFromTestCase(test_case))
return suite
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment