Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2122

Unit test testdata assets should be able to be changed and regenerated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Future QSR version
    • QSR 2.1
    • Testing
    • None

    Description

      Currently the unit test testdata assets are binary only, so modifying them is really hard. Also, having the "raw" test data available can make it easier to understand what each specific test is doing.

      There's two alternatives how this could be achieved:
      1) Have all the assets in non-compressed format next to the testdata, such as testdata_raw. Then some QSR tool could convert all that raw data to compressed data with simple instructions for user.

      2) Generate all test data with code at the start of the unit testing such. EventHandler does this right now by creating a qml layout using test helper functions.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtsaferendererteam Qt Safe Renderer Team
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes