Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 5ab010e37991249ab4adaa24d6e39c6e > files > 220

qt5-qtdoc-5.1.1-2.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- testing.qdoc -->
  <title>Testing and Debugging | QtDoc 5.1</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader"></div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#unit-testing">Unit Testing</a></li>
<li class="level2"><a href="#autotests">Autotests</a></li>
<li class="level1"><a href="#testing-with-qt-creator">Testing with Qt Creator</a></li>
<li class="level1"><a href="#debugging-techniques">Debugging Techniques</a></li>
</ul>
</div>
<h1 class="title">Testing and Debugging</h1>
<span class="subtitle"></span>
<!-- $$$testing-and-debugging.html-description -->
<div class="descr"> <a name="details"></a>
<p>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.</p>
<a name="unit-testing"></a>
<h2>Unit Testing</h2>
<p>Qt facilitates the creation of unit tests to test interfaces such as classes, functions, or whole libraries.</p>
<ul>
<li>Qt Test (also known as <i>testlib</i>) - a framework for unit tests of C++ code</li>
<li><a href="qtquick-qtquicktest.html">Qt Quick Test</a> - a framework for unit tests of QML code</li>
</ul>
<a name="autotests"></a>
<h3>Autotests</h3>
<p>Qt itself has a significant number of unit tests written with the Qt Test and Qt Quick Test frameworks (<i>autotests</i>). These autotests are available for study in the <tt>tests/auto</tt> 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.</p>
<a name="testing-with-qt-creator"></a>
<h2>Testing with Qt Creator</h2>
<p>Qt Creator's full debugging workflow supports debugging both C++ and QML code as well as the ability to profile code.</p>
<p>For more information, consult the <a href="http://qt-project.org/doc/qtcreator/index.html">Qt Creator Manual</a>:</p>
<ul>
<li><a href="http://qt-project.org/doc/qtcreator/creator-debugging.html">Debugging</a></li>
<li><a href="http://qt-project.org/doc/qtcreator/creator-analyze-mode.html">Analyzing Code</a></li>
</ul>
<a name="debugging-techniques"></a>
<h2>Debugging Techniques</h2>
<p>These pages contain suggestions for debugging under various circumstances:</p>
<ul>
<li><a href="debug.html">Debugging Techniques</a> - for C++ code</li>
<li><a href="qtquick-debugging.html">Debugging QML Applications</a></li>
<li><a href="deployment-plugins.html#debugging-plugins">Debugging Plugins</a></li>
</ul>
</div>
<!-- @@@testing-and-debugging.html -->
</div>
</div>
</div>
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Digia, Qt and their respective logos are trademarks of Digia Plc 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>