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

Separate positive and negative tests

    XMLWordPrintable

Details

    • 1

    Description

      See for example the test: https://testrail.qt.io/index.php?/tests/view/1700556&group_by=cases:section_id&group_order=asc&group_id=12538

      Now we have test steps for both

      • positive testing
        • = software works correctly when used correctly
      • negative testing
        • = software works correctly when used incorrectly
        • especially in the thorough QML data validation

      Test cases are quite large with both steps.

      And if the latter fails (e.g. validation does not protect from dummy user), then the entire test case fails. But only the former is required to have the working release.

      The latter is future improvement opportunity in QSR 1.2.

      The safety manual contains tips for the user how they can check possible errors in the QML file before using it in the safety application.

      There are two things to be taken into account:

      • Use Qt Creator text edit mode, it shows in real-time if there are any issues in the QML code
      • Use QML Scene tool to validate the QML

      So very easy checks for the user.

       

      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
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes