Added tests for start command

This commit is contained in:
2022-06-26 00:39:16 +02:00
parent 6de3bbdaf4
commit 32507afae9
8 changed files with 119 additions and 22 deletions

View File

@@ -14,6 +14,7 @@ from unittests_cli.new_test_case import NewTestCase
from unittests_cli.publish_test_case import PublishTestCase
from unittests_cli.remove_test_case import RemoveTestCase
from unittests_cli.run_test_case import RunTestCase
from unittests_cli.start_test_case import StartTestCase
from unittests_cli.uninstall_test_case import UninstallTestCase
from unittests_cli.update_test_case import UpdateTestCase
@@ -25,25 +26,24 @@ class CLITestSuite(unittest.TestSuite):
loader = unittest.TestLoader()
self._result: Optional[TestResult] = None
self._is_online = True
self._is_online = False
active_tests = [
# nothing needed
GenerateTestCase,
NewTestCase,
# GenerateTestCase,
# NewTestCase,
# compare console output
# VersionTestCase,
# project needed
BuildTestCase,
PublishTestCase,
RunTestCase,
# check if application was executed properly and file watcher is working
# StartTestCase,
# BuildTestCase,
# PublishTestCase,
# RunTestCase,
StartTestCase,
# check in project settings if package is updated
# UpdateTestCase,
# workspace needed
AddTestCase,
RemoveTestCase
# AddTestCase,
# RemoveTestCase
]
if self._is_online: