Jump to Navigation

QML Quality Assurance with QtQuick Test

Session Summary: 
It will be demonstrated during the session the technical challenges and best practices of how to ensure quality of a QML codebase. The current status of the tool and alternatives. Tips and tricks and ideas for further development.
Session Abstract: 

The presentation will use as example the test-suite that I wrote for Qt Components (custom components branch), to ensure the API compliance with the defined standard.

http://qt.gitorious.org/qt-components/qt-components/commits/custom (tests folder).

Some tips and tricks about how to measure (re)paint performance of QML Items and how to workaround the fact of not having coverage report support in the interpretor.

Some best practices like the importance of test-driven-development, how tests can help refactoring, detect regressions, etc will be also shown. Specially in interpreted languages, when syntax errors are caught only in runtime, is crucial to touch every single line of code whenever is possible using a test-suite.