File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,28 @@ For instructions on how to set up the Qt Creator repository to contribute
4
4
patches back to Qt Creator, please check:
5
5
6
6
https://wiki.qt.io/Setting_up_Gerrit#How_to_get_started_-_Gerrit_registration
7
+
8
+ Qt Creator has integrated auto tests, and further external tests in the
9
+ subdirectory 'tests'.
10
+
11
+ To build the integrated auto tests, build Qt Creator with the additional
12
+ QMake option TEST=1
13
+
14
+ To build also the auto tests, manual tests and unit tests in the 'tests'
15
+ subdirectory, use the QMake option BUILD_TESTS=1
16
+
17
+ Afterwards:
18
+
19
+ * The tests from the 'tests' subdirectory can be run as individual applications.
20
+ They are also available as separate Run configuration from within Qt Creator.
21
+
22
+ * All the integrated tests for a specific plugin can be run with:
23
+
24
+ qtcreator -test QtSupport
25
+
26
+ * To run only a specific test case, use:
27
+
28
+ qtcreator -test QtSupport,testQtOutputFormatter
29
+
30
+ Note: Adding -test to Qt Creator will run the tests in a clean settingspath.
31
+ To run them with specific settings, -settingspath /path has to be provided.
You can’t perform that action at this time.
0 commit comments