Qt Test
Description
Qt Test is a framework for unit testing Qt based applications and libraries. Qt Test provides all the functionality commonly found in unit testing frameworks as well as extensions for testing graphical user interfaces.
Table of Contents
- Compatibility
- Branch info
- Install and launch
- Project Structure
- Terms of Use and Participation in Development
Compatibility
The application works correctly starting with Aurora OS 5.1.1 and higher. In version 5.1.5 the possibility of autotesting third-party applications for third-party developers is enabled. To do this, enable the 'Allow UI autotesting' option in Settings->Developer Mode.
Branch info
Application versions conform to the branch naming convention.
Install and launch
Installation
To work with tests on the device, it is required to disable the validator for the test package.
Note. It is possible to manually disable the validator (package validation) at the application development stage. In this case, the system does not display any further reminders. Please note that unvalidated packages may be blocked by the system at the installation stage. This can lead to a failure of the start of commercial operation.
Launch
Note that the Qt Test framework is organized in the package ru.auroraos.QtTest-tests.
Project Structure
The project has a common structure of an application based on C++ and QML for Aurora OS. It uses app directory for the main application resources and tests for unit testing.
-
app subproject contains application template.
- ru.auroraos.QtTest.pro file describes the project structure for the qmake build system.
- rpm directory contains the rpm-package build settings. ru.auroraos.QtTest.spec file is used by rpmbuild tool.
- icons directory contains application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- icons directory contains the custom UI icons.
- pages directory contains the application pages.
- QtTest.qml file provides the application window implementation.
-
src directory contains the C++ source code.
- main.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.QtTest.desktop file defines the display and parameters for launching the application.
-
tests subproject contains unit testing template.
- tests directory contains unit tests written with Qt Test module.
Terms of Use and Participation in Development
The source code of the project is provided under license, which allows to use it in third-party applications.
To participate in the development of the project, please read the member agreement. If you plan to submit your own source code for inclusion in the project, you will need to accept the CLA terms and conditions.
Participant information is listed in the AUTHORS file.
The Code of Conduct is the current set of rules of the Open Mobile Platform Company, which informs about the expectations for interaction between community members when communicating and working on projects.