Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4185

Create Pytest functionality for deprecating stale test functions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      Some parts of our code has parts present, only to handle backwards compatibility, due to changes introduced in our setup which has to be compatible with a new and an old client setup, and meta-mender branch.

      The idea here is to create some functionality for automatically deprecating old test-functions, once there is no longer a need to support them!

      This can be solved any way you like, and clever ideas are most welcome.

      From the meeting: https://docs.google.com/document/d/1neXnS16brsb7Jdn-Sg-f1Wyoyo_O5MJIAW7_FzTKpfY/edit?disco=AAAAHT2MWng
      the ideas were:

      • Set a timeout marker. This is possible due to our time-based release schedule, which guarantees that a certain version of Mender goes out of support x months/years from the given date it is introduced.
      • Automatically version the versions it has to support, and then deprecate when these go out of support.
      • Or any other clever thing you can come up with

      Acceptance criteria:

      • Add pytest functionality for automatically deprecating tests which have backwards compatible code which no longer needs to be supported.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oleorhagen Ole Petter Orhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support