Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
QSR 2.0
-
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.