forked from qt-creator/qt-creator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HACKING
28 lines (17 loc) · 1001 Bytes
/
HACKING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
See the file doc/api/coding-style.qdoc for our coding standard.
For instructions on how to set up the Qt Creator repository to contribute
patches back to Qt Creator, please check:
https://wiki.qt.io/Setting_up_Gerrit#How_to_get_started_-_Gerrit_registration
Qt Creator has integrated auto tests, and further external tests in the
subdirectory 'tests'.
To build the auto tests, manual tests and unit tests in the 'tests'
subdirectory, configure with the CMake option WITH_TESTS=ON.
Afterwards:
* The tests from the 'tests' subdirectory can be run as individual applications.
They are also available as separate Run configuration from within Qt Creator.
* All the integrated tests for a specific plugin can be run with:
qtcreator -test QtSupport
* To run only a specific test case, use:
qtcreator -test QtSupport,testQtOutputFormatter
Note: Adding -test to Qt Creator will run the tests in a clean settingspath.
To run them with specific settings, -settingspath /path has to be provided.