Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-1875

CSP_Mid.CBF MCS testing enhancements - Part 2

Change Owns to Parent OfsSet start and due date...
    XporterXMLWordPrintable

Details

    • Obs Mgt & Controls
    • Hide

      Upgrading to the latest base classes version is a necessary prerequisite for continuing with mid-cbf-mcs development. An enhanced unit testing framework will increase the development and testing process efficiency, ensuring in the same time a more thorough SW verification process. 

      Show
      Upgrading to the latest base classes version is a necessary prerequisite for continuing with mid-cbf-mcs development. An enhanced unit testing framework will increase the development and testing process efficiency, ensuring in the same time a more thorough SW verification process. 
    • Hide

      Unit testing supporting SW as well as pytest unit test functionality is implemented for all tango device classes.

      Show
      Unit testing supporting SW as well as pytest unit test functionality is implemented for all tango device classes.
    • 5
    • 5
    • 5
    • 1
    • Team_CIPA
    • Sprint 5
    • Hide

      The objective of this feature have be attained as follows:

      o Unit testing framework ported from ska-low-mccs (Tango test harnesses, Tango.DeviceProxywrapper class (MccsDeviceProxy), Device and callable mock object) builders (AT5-779)

       

      o Software enhancements:

         . Tango test harnesses: Added group and attribute connection factories  (AT5-739)

         . DeviceProxy wrapper:  Added event unsubscribe mechanism (AT5-880)

       

      o New items:

         . Tango test harness support for attribute and group connections

              Tango.Group class wrapper (AT5-739)

              Tango.AttributeProxy class wrapper (AT5-892)

         . Attribute and group mock object builders (AT5-739, AT5-892)

       

      o List of classes updated to support unit testing and for which unit tested is executed (and part of CICD):

         . CbfController  (AT5-811)

         . CbfSubarray (AT5-812)

         . Vcc (AT5-779)

         . Fsp (AT5-810)

         . FspCorrSubarray (AT5-731)

         . FspPssSubarray, FspPstSubarray (AT5-809)

       

      o Note that all the new devices (within the scope of other features) also implemented used the functionality implemented under this feature to support unit testing:

      ControllerComponentManager,  PowerSwitch,  PowerSwitchComponentManager, TalonLRU, TalonDxComponentManager

      https://gitlab.com/ska-telescope/ska-mid-cbf-mcs/-/tree/develop

       

      Show
      The objective of this feature have be attained as follows: o Unit testing framework ported from ska-low-mccs (Tango test harnesses, Tango.DeviceProxywrapper class (MccsDeviceProxy), Device and callable mock object) builders (AT5-779)   o Software enhancements:    . Tango test harnesses: Added group and attribute connection factories  (AT5-739)    . DeviceProxy wrapper:  Added event unsubscribe mechanism (AT5-880)   o New items:    . Tango test harness support for attribute and group connections         Tango.Group class wrapper (AT5-739)         Tango.AttributeProxy class wrapper (AT5-892)    . Attribute and group mock object builders (AT5-739, AT5-892)   o List of classes updated to support unit testing and for which unit tested is executed (and part of CICD):    . CbfController  (AT5-811)    . CbfSubarray (AT5-812)    . Vcc (AT5-779)    . Fsp (AT5-810)    . FspCorrSubarray (AT5-731)    . FspPssSubarray, FspPstSubarray (AT5-809)   o Note that all the new devices (within the scope of other features) also implemented used the functionality implemented under this feature to support unit testing: ControllerComponentManager,  PowerSwitch,  PowerSwitchComponentManager, TalonLRU, TalonDxComponentManager https://gitlab.com/ska-telescope/ska-mid-cbf-mcs/-/tree/develop  
    • 12.6
    • Stories Completed, Integrated, Outcomes Reviewed, NFRS met, Satisfies Acceptance Criteria, Accepted by FO
    • PI22 - UNCOVERED

    • TDC Team_CIPA technical_debt

    Description

      The purpose of this feature is to  continue implementing support for unit testing started in SP-1738  (use wrapper classes that can switch between the 2 types of connection - DeviceProxy() and MultiDeviceTestContext(). The philosophy, details and references are provided in the description to story AT5-779.

      Attachments

        Issue Links

          Structure

            Activity

              People

                v.mohile Mohile, Vivek
                M.Radulescu Radulescu, Michelle
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (100.00%)

                  Feature Estimate: 5.0

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete1454.0
                  Total1454.0

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel