summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2013-05-24 14:24:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 16:13:57 +0200
commit1f373fbe5c174fe7951d2c8bbbe235e4eaa6205a (patch)
tree54089dbc5553a9869741f7d80bd2251223d96e69
parent0dec407475169bfe4a32ae47ab66aa1f91ee117b (diff)
downloadqtdoc-1f373fbe5c174fe7951d2c8bbbe235e4eaa6205a.tar.gz
Doc: Edited "Testing and Debugging" overview.
-added links to Qt Creator manual -fixed flow of information and sections Change-Id: Ie35eada39050677db5e12d915d70d6d6c1bb86b4 Reviewed-by: Geir Vattekar <geir.vattekar@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
-rw-r--r--doc/src/testing.qdoc46
1 files changed, 29 insertions, 17 deletions
diff --git a/doc/src/testing.qdoc b/doc/src/testing.qdoc
index 0317e3a2..6a9eed89 100644
--- a/doc/src/testing.qdoc
+++ b/doc/src/testing.qdoc
@@ -27,36 +27,48 @@
/*!
\page testing-and-debugging.html
-\title Testing and debugging
+\title Testing and Debugging
\brief Writing unit tests and debugging with Qt
-Qt provides various functionality to help you develop high quality code. There are features
-that assist in debugging to track down bugs, and testing facilities that help to keep the bugs out.
+Qt provides various functionality to help you develop high quality code. There
+are features that assist in debugging to track down bugs, and testing facilities
+that help to keep the bugs out.
-\section1 Testing Qt-based code
+\section1 Unit Testing
-The fundamental level of code testing is the unit test. Qt facilitates the creation of unit tests:
+Qt facilitates the creation of unit tests to test interfaces such as classes,
+functions, or whole libraries.
\list
-\li \l {Qt Test Overview}{Qt Test Module} (also known as "testlib") provides a framework for unit tests of C++ code
-\li \l {QtQuickTest Reference Documentation}{Qt QuickTest} is a framework for unit tests of QML code
+\li \l {Qt Test Overview}{Qt Test} (also known as \e testlib) - a framework for unit tests of C++ code
+\li \l {Qt Quick Test Reference Documentation}{Qt Quick Test} - a framework for unit tests of QML code
\endlist
-Qt itself has a significant number of self-tests built with the Qt Test and QuickTest frameworks. These
-self-tests are available for study in the \c tests/auto subdirectories of the source code of each Qt module.
-The self-tests are an important part of the continuous quality assurance in the development of Qt.
+\section2 Autotests
-For higher-level testing, powerful third-party tools are available in the Qt ecosystem.
+Qt itself has a significant number of unit tests written with the Qt Test and Qt
+Quick Test frameworks (\e autotests). These autotests are available for study in
+the \c tests/auto directories of the source code of each Qt module. The
+autotests are an important part of the continuous quality assurance in the
+development of Qt.
-\section1 Debugging Qt applications
+\section1 Testing with Qt Creator
-Qt provides many facilities to assist with debugging:
+Qt Creator's full debugging workflow supports debugging both C++ and QML code
+as well as the ability to profile code.
+For more information, consult the \l{Qt Creator Manual}:
\list
-\li \l {Debugging Techniques} for Qt C++ code
+\li \l{Qt Creator: Debugging}{Debugging}
+\li \l{Qt Creator: Analyzing Code}{Analyzing Code}
+\endlist
+
+\section1 Debugging Techniques
+
+These pages contain suggestions for debugging under various circumstances:
+\list
+\li \l {Debugging Techniques} - for C++ code
\li \l {Debugging QML Applications}
-\li The "Debugging Plugins" section of the \l {Deploying Plugins} overview
-\li The "Debugging" chapter of the Qt Creator Manual
+\li \l {Debugging Plugins}
\endlist
*/
-