Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-563 Setup/Package Issues
  3. TVB-576

Different setup for test/development/deployment/console-use.

    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.

        Attachments

          Activity

            People

            • Assignee:
              ionel.ortelecan Ionel Ortelecan
              Reporter:
              lia.domide Lia Domide
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week, 1 day Original Estimate - 1 week, 1 day
                1w 1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 1 hour, 30 minutes
                1w 1d 1h 30m