Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7682

Create a new fixture for loading test data

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The metrics app requires 'persistent' test data in order to test features like data set selection, annotations display, etc. This should be distinguished from the unitests that we run with py.test, unitests can still load data but in a database that is created only for that and destroyed after the tests (using django test framework for instance).

      The right mechanism for that seems to be a fixture with test data that can be loaded locally or at a dev instance deployed at AWS.

        Attachments

          Issue Links

            Activity

            afausti Angelo Fausti created issue -
            afausti Angelo Fausti made changes -
            Field Original Value New Value
            Epic Link DM-6196 [ 24712 ]
            afausti Angelo Fausti made changes -
            Link This issue is child task of DM-7581 [ DM-7581 ]
            afausti Angelo Fausti made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            afausti Angelo Fausti made changes -
            Description The metrics app requires 'persistent' test data in order to test features like data set selection, annotations display, etc. This should be distinguished from the unitests that we run with py.test, unitests can still load data but in a database that is created only for that and destroyed after the tests (using django test framework for instance).

            The right mechanism for that seems to be a fixture with test data that can be loaded locally in the dev instance or at a dev instance deployed at AWS.
            The metrics app requires 'persistent' test data in order to test features like data set selection, annotations display, etc. This should be distinguished from the unitests that we run with py.test, unitests can still load data but in a database that is created only for that and destroyed after the tests (using django test framework for instance).

            The right mechanism for that seems to be a fixture with test data that can be loaded locally or at a dev instance deployed at AWS.
            afausti Angelo Fausti made changes -
            Story Points 1.5
            afausti Angelo Fausti made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Done [ 10002 ]

              People

              Assignee:
              afausti Angelo Fausti
              Reporter:
              afausti Angelo Fausti
              Watchers:
              Angelo Fausti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.