Details
-
Enabler
-
Should have
-
None
-
Obs Mgt & Controls
-
-
3
-
3
-
1.667
-
Team_CIPA
-
Sprint 5
-
-
-
-
11.6
-
Stories Completed, Integrated, Outcomes Reviewed, NFRS met, Satisfies Acceptance Criteria, Accepted by FO
-
-
TDC Team_CIPA technical_debt
Description
The current Mid.CBF MCS consists of multiple device servers organized in a 3-level client/server hierarchy (to which, the test functions, acting as clients, become the 4th layer).
At all levels, connection to subordinate device servers, are currently performed via Tango DeviceProxy(). This renders the testing process more complex and less efficient.
Following the testing approach adopted in the base classes, this paradigm would have to change to establish the connections to subordinate servers rather via DeviceTestContext or MultiDeviceTestContext (which allow stubbing out the database). (https://pytango.readthedocs.io/en/stable/testing/testing_approaches.html).
This in turns, entails using wrapper classes that can switch between the 2 types of connection for testing purposes. Such a class and other testing utilities can be adapted from the ska tango base classes and/or the ska-low-mccs project.
In addition, the set of test function currently implemented need to be augmented to include support for all commands/attributes in all device classes.
Attachments
Issue Links
- is cloned by
-
SP-1875 CSP_Mid.CBF MCS testing enhancements - Part 2
- Done