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

Create the IntegrationTests test script Base Class

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      TSSW Sprint - Sep 27 - Oct 11
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Create a script base Class, to reduce duplication of code when creating the various integration test script classes.  Creating the ScriptQueue remote and pausing, adding, and resuming the ScriptQueue are things every integration test will do.  Put that functionality into a base Class.

       

      Make the ScriptQueueController Class and the script Base Class configurable so the Index (MT or AT) can be set.

        Attachments

          Issue Links

            Activity

            No builds found.
            rbovill Rob Bovill created issue -
            rbovill Rob Bovill made changes -
            Field Original Value New Value
            Description  

             

            Make the ScriptQueueController Class configurable so the Index (MT or AT) can be set.
            rbovill Rob Bovill made changes -
            Description  

             

            Make the ScriptQueueController Class configurable so the Index (MT or AT) can be set.
             

             

            Make the ScriptQueueController Class and the script Base Class configurable so the Index (MT or AT) can be set.
            rbovill Rob Bovill made changes -
            Epic Link DM-27719 [ 442124 ]
            rbovill Rob Bovill made changes -
            Story Points 2
            rbovill Rob Bovill made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            rbovill Rob Bovill made changes -
            Reviewers Michael Reuter [ mareuter ]
            rbovill Rob Bovill made changes -
            Description  

             

            Make the ScriptQueueController Class and the script Base Class configurable so the Index (MT or AT) can be set.
            Create a script base Class, to reduce duplication of code when creating the various integration test script classes.  Creating the ScriptQueue remote and pausing, adding, and resuming the ScriptQueue are things every integration test will do.  Put that functionality into a base Class.

             

            Make the ScriptQueueController Class and the script Base Class configurable so the Index (MT or AT) can be set.
            Hide
            rbovill Rob Bovill added a comment -

            Watched several tutorials on Classes and OOP as part of this effort.  And oh boy, did I learn a lot.

            Show
            rbovill Rob Bovill added a comment - Watched several tutorials on Classes and OOP as part of this effort.  And oh boy, did I learn a lot.
            Hide
            rbovill Rob Bovill added a comment -

            Managed to create the base Class and do the parameterization of the index variable.

            https://github.com/lsst-ts/ts_IntegrationTests/pull/6

             

            Show
            rbovill Rob Bovill added a comment - Managed to create the base Class and do the parameterization of the index variable. https://github.com/lsst-ts/ts_IntegrationTests/pull/6  
            Hide
            rbovill Rob Bovill added a comment -

            As discussed with Michael Reuter, there's some significant restructuring we want to do, to allow for multiple scripts with multiple configurations.  Additionally, as currently setup, multiple ScriptQueue Remotes are created, which is wholly unnecessary.

            I will use DM-31928 as the task to address the restructuring, as that task is to add the next round of configurations; multiple configurations for the same script.

            Show
            rbovill Rob Bovill added a comment - As discussed with Michael Reuter , there's some significant restructuring we want to do, to allow for multiple scripts with multiple configurations.  Additionally, as currently setup, multiple ScriptQueue Remotes are created, which is wholly unnecessary. I will use DM-31928 as the task to address the restructuring, as that task is to add the next round of configurations; multiple configurations for the same script.
            rbovill Rob Bovill made changes -
            Link This issue has to be done before DM-31928 [ DM-31928 ]
            rbovill Rob Bovill made changes -
            Status In Progress [ 3 ] In Review [ 10004 ]
            Hide
            mareuter Michael Reuter added a comment -

            PR reviewed.

            Show
            mareuter Michael Reuter added a comment - PR reviewed.
            mareuter Michael Reuter made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            rbovill Rob Bovill made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            rbovill Rob Bovill made changes -
            Story Points 2 3
            rbovill Rob Bovill made changes -
            Component/s ts_integration [ 19201 ]
            Component/s ts_qa [ 16723 ]
            rbovill Rob Bovill made changes -
            Labels Integration

              People

              Assignee:
              rbovill Rob Bovill
              Reporter:
              rbovill Rob Bovill
              Reviewers:
              Michael Reuter
              Watchers:
              Michael Reuter, Rob Bovill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.