Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Category:Tools::QtCreator::QualityAssurance
Qt Creator Quality Assurance
Auto Tests
Qt Creator’s auto tests are actually executed internally only, but you can run them for yourself as well. You can find the auto tests in tests/auto of Qt Creator’s git repository. To run them you need to compile Qt Creator first. It’s recommended to use a debug build (for Qt Creator as well as for the auto tests), but you should be able to get most of the tests run on a release build as well.
Compile the auto tests by running
and
afterwards. If you’re using shadow-builds you must pass the IDE_BUILD_TREE variable pointing to the build directory of your Qt Creator build to the qmake call.
Sometimes it is wise to use
to compile ignoring potential errors. All auto test executables can be found afterwards inside their respective folders named ‘tst_*’ (or ‘tst_*.exe’ on Windows).
Plugin Tests
Qt Creator’s plugin unit tests are integrated into the source code of the respective plugins. To execute the plugin tests you’ll need a debug build of Qt Creator. After finished compiling you just start Qt Creator with the option ‘-test all’ or ‘-test PLUGINNAME[,TESTFUNCTION[:TESTDATA]]…’ with PLUGINNAME replaced by the plugin you want to test. TESTFUNCTION might contain wildcard characters. If TESTDATA is specified, it will be applied to all matching test functions.
Not every plugin provides integrated plugin unit tests – so for the first time run it might be a good idea to run all tests to figure out which plugin names you can use. If you want to figure out by yourself whether a plugin has tests or not check the pluginspec files inside lib/qtcreator/plugins/QtProject of Qt Creator’s repository to get the plugin name you can use for the ‘-test’ option.
Squish Tests
Qt Creator is being tested using Squish by Froglogic [froglogic.com]. You can find the scripts in tests/system of Qt Creator’s git repository. See the README [qt.gitorious.org] on how to run them.
Manual Testing
Installer
Projects and Code
Tools Integration
Debugger g++/gdb
Debugger MSVC/cdb
Debugger lldb
Qt Quick
Android
iOS
There are 11 articles in "Tools -> QtCreator -> QualityAssurance":
Q
- Qt_Creator_ManualTests_Android
- Qt_Creator_ManualTests_DebuggerCdb
- Qt_Creator_ManualTests_DebuggerGdb
- Qt_Creator_ManualTests_DebuggerLldb
- Qt_Creator_ManualTests_Installer
- Qt_Creator_ManualTests_iOS
- Qt_Creator_ManualTests_ProjectsAndCode
- Qt_Creator_ManualTests_QtQuick
- Qt_Creator_ManualTests_ToolsIntegration===T===
- Category:Tools -> QtCreator
- Category:Tools -> QtCreator -> QualityAssurance
Categories:
Pages in category "Tools::QtCreator::QualityAssurance"
The following 9 pages are in this category, out of 9 total.
Q
- Qt Creator ManualTests Android
- Qt Creator ManualTests DebuggerCdb
- Qt Creator ManualTests DebuggerGdb
- Qt Creator ManualTests DebuggerLldb
- Qt Creator ManualTests Installer
- Qt Creator ManualTests iOS
- Qt Creator ManualTests ProjectsAndCode
- Qt Creator ManualTests QtQuick
- Qt Creator ManualTests ToolsIntegration