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

PyTango DeviceTestContext - fixes and more examples

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

Details

    • Obs Mgt & Controls
    • Hide

      Examples that show how to use DeviceTestContext will make it easier for developers to use it for testing.

      Support for forwarded attributes enables better test coverage because SKA Control System Guidelines asks for forwarded attributes to be used in some TANGO devices.

      Show
      Examples that show how to use DeviceTestContext will make it easier for developers to use it for testing. Support for forwarded attributes enables better test coverage because SKA Control System Guidelines asks for forwarded attributes to be used in some TANGO devices.
    • Hide

      The tango-example project includes:

      • example of devices in a hierarchy using only DeviceTestContext - no device servers required to be run externally,
      • example using events, based on DeviceTestContext.

      Documentation updates:

      • Update (PR merged) official PyTango docs with notes from Testing in TANGO Controls confluence page.
      • Update (PR merged) official general TANGO docs with a link to this new PyTango page.
      • Add a link to the new PyTango docs on SKA developer portal

      Spike to investigate support for forwarded attributes in DeviceTestContext (and thus TANGO file-based database) has been completed:

      • If it can be fixed in PyTango, then a PR with fix must be merged (new release of PyTango outside the scope of this ticket).
      • If changes are required in cppTango, then at least an issue has been created on Github.
      Show
      The tango-example project includes: example of devices in a hierarchy using only DeviceTestContext - no device servers required to be run externally, example using events, based on DeviceTestContext. Documentation updates: Update (PR merged) official PyTango docs  with notes from Testing in TANGO Controls confluence page. Update (PR merged) official  general TANGO docs  with a link to this new PyTango page. Add a link to the new PyTango docs on  SKA developer portal .  Spike to investigate support for forwarded attributes in DeviceTestContext (and thus TANGO file-based database) has been completed: If it can be fixed in PyTango, then a PR with fix must be merged (new release of PyTango outside the scope of this ticket). If changes are required in cppTango, then at least an issue has been created on Github.
    • 3
    • 2.667
    • 19.1
    • PI22 - UNCOVERED

    Description

      Address current issues with DeviceTestContext:

      • Add example of a hierarchy of devices using just DeviceTestContext instances.
      • Add example using DeviceTestContext with events.
      • Investigate adding support for forwarded TANGO attributes.
      • Not an issue, but update official TANGO developer docs with notes on DeviceTestContext from SAR-29.

      These issues were identified as future work in Testing in TANGO Controls.

      Attachments

        Issue Links

          Structure

            Activity

              People

                v.mohile Mohile, Vivek
                p.swart Swart, Paul [X] (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (0%)

                  Feature Estimate: 3.0

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete00.0
                  Total00.0

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel