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.

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0.1
    • None
    • 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.

      Gliffy Diagrams

        Attachments

          Activity

            People

              ionel.ortelecan Ionel Ortelecan
              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