Reduce the amount of manual work while renaming a test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines - Foundations
    • 15.334
    • None
    • None

      Currently almost every python test has two or three places where we use the test name for different purposes:

       

      For example: 

      # test_compact03.py
      # ...
      
      # Test compact behavior with overflow values.
      class test_compact03(compact_util):
      
      
      uri=f'table:test_compact03' 

      Both the comment in the beginning and the URI name are hardcoded so they need to be updated every time we rename a test. This manual work can be easily avoided since the comment is redundant and the URI can be defined using qualname.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: