Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.1
-
Component/s: None
-
Labels:None
Description
A different DB should be possible to be used, with a simple console given parameter to run_tests.sh
A possible solution means having a class hierarchy of TVBSettings. One base class, TestPostgreSQL, TestSqLite, Development, ConsoleUse.
and a shortcut TVBSettings = if isDevelopment() ..... DevelopementSubclass else if..... set at different entry points (e.g. mainTests.py, run.py) with the desired instance.
Change in logging configuration mechanism should be done, when this change is implemented.