2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-09 11:32:12 +00:00
Files
test/doc/v2/html/boost_test/tutorial/test_output.html
2014-01-27 02:17:10 +01:00

105 lines
7.1 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Test output ... or let's see what you got for your money</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" title="Boost.Test">
<link rel="up" href="../tutorial.html" title="The unit test framework tutorials">
<link rel="prev" href="users_guide/usage_variants/extern_test_runner_variant.html" title="The external test runner variant of the UTF">
<link rel="next" href="test_output/log_outputbist.html" title="Test log output">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="users_guide/usage_variants/extern_test_runner_variant.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="test_output/log_outputbist.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="boost_test.tutorial.test_output"></a><a class="link" href="test_output.html" title="Test output ... or let's see what you got for your money">Test output ... or let's
see what you got for your money</a>
</h3></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="test_output/log_outputbist.html">Test
log output</a></span></dt>
<dt><span class="section"><a href="test_output/testing_tool_args.html">Logging
tool arguments</a></span></dt>
<dt><span class="section"><a href="test_output/log_test_messages.html"><code class="computeroutput"><span class="identifier">BOOST_TEST_MESSAGE</span></code></a></span></dt>
<dt><span class="section"><a href="test_output/log_test_checkpoint.html"><code class="computeroutput"><span class="identifier">BOOST_TEST_CHECKPOINT</span></code></a></span></dt>
<dt><span class="section"><a href="test_output/log_test_passpoint.html"><code class="computeroutput"><span class="identifier">BOOST_TEST_PASSPOINT</span></code></a></span></dt>
<dt><span class="section"><a href="test_output/log_floating_points.html">Logging
floating point type numbers</a></span></dt>
<dt><span class="section"><a href="test_output/log_human_readable_format.html">Human
readable log output format</a></span></dt>
<dt><span class="section"><a href="test_output/log_xml_format.html">XML
based log output format</a></span></dt>
<dt><span class="section"><a href="test_output/log_compil_time_configuration.html">Compile
time configuration</a></span></dt>
</dl></div>
<p>
The output produced by a test module is one of the major assets the <span class="emphasis"><em>UTF</em></span>
brings to users. In comparison with any kind of manual/assert based solution
the <span class="emphasis"><em>UTF</em></span> provide following services:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
All test errors are reported uniformly The test execution monitor along
with standardized output from all included <span class="bold"><strong>testing
tools</strong></span> provides uniform reporting for all errors including
fatal errors, like memory assess violation and uncaught exceptions.
</li>
<li class="listitem">
Detailed information on the source of an error The <span class="emphasis"><em>UTF</em></span>
test tool's based assertion provides as much information as possible
about cause of error, usually allowing you to deduce what is wrong without
entering the debugger or core analysis.
</li>
<li class="listitem">
Separation of the test errors description (test log) from the results
report summary (test results report) The information produced during
test execution, including all error, warning and info messages from the
test tools, executed test units notification constitute the test log.
By default all entries in the test log are directed to the standard output.
Once testing is completed the <span class="emphasis"><em>UTF</em></span> may produce a
summary test report with different levels of detail. The test report
is by default directed to the standard error output.
</li>
<li class="listitem">
Flexibility in what is shown in the output&lt;/simpara&gt; The <span class="emphasis"><em>UTF</em></span>
provides the ability to configure what if shown in both the test log
and the test report. The configuration is supported both at runtime,
during test module invocation and at compile time from within a test
module.
</li>
<li class="listitem">
Flexibility in how output is formatted&lt;/simpara&gt; The <span class="emphasis"><em>UTF</em></span>
provides the ability to configure the format of the test module output.
At the moment only 2 formats are supported by the <span class="emphasis"><em>UTF</em></span>
itself, the well defined public interface allows you to customize an
output for your purposes almost any way you want.
</li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2013 Gennadiy Rozental<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="users_guide/usage_variants/extern_test_runner_variant.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="test_output/log_outputbist.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>