mirror of
https://github.com/boostorg/test.git
synced 2026-02-02 21:22:10 +00:00
120 lines
7.9 KiB
HTML
120 lines
7.9 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>Controlling the outputs</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="../index.html" title="Boost.Test">
|
|
<link rel="prev" href="testing_tools/testing_floating_points.html" title="Floating-point testing">
|
|
<link rel="next" href="test_output/test_log_output.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="testing_tools/testing_floating_points.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.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/test_log_output.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
<div class="section">
|
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
<a name="boost_test.test_output"></a><a name="ref_test_outputs"></a><a class="link" href="test_output.html" title="Controlling the outputs">Controlling
|
|
the outputs</a>
|
|
</h2></div></div></div>
|
|
<div class="toc"><dl class="toc">
|
|
<dt><span class="section"><a href="test_output/test_log_output.html">Test log output</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/log_runtime_config.html">Configuring
|
|
the verbosity of the logs</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/testing_tool_output_disable.html">Disabling
|
|
automatic printing for specific types</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/test_output_macro_message.html"><code class="computeroutput"><span class="identifier">BOOST_TEST_MESSAGE</span></code></a></span></dt>
|
|
<dt><span class="section"><a href="test_output/test_output_macro_checkpoint.html"><code class="computeroutput"><span class="identifier">BOOST_TEST_CHECKPOINT</span></code></a></span></dt>
|
|
<dt><span class="section"><a href="test_output/test_output_macro_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 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>
|
|
<dd><dl>
|
|
<dt><span class="section"><a href="test_output/log_compil_time_configuration/log_ct_output_stream_redirection.html">Log
|
|
output stream redirection</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/log_compil_time_configuration/log_ct_log_level.html">Log
|
|
level configuration</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/log_compil_time_configuration/log_ct_log_format.html">Predefined
|
|
log format selection</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/log_compil_time_configuration/custom_log_formatter.html">Custom
|
|
log format support</a></span></dt>
|
|
</dl></dd>
|
|
<dt><span class="section"><a href="test_output/test_reports.html">Test
|
|
reports</a></span></dt>
|
|
<dt><span class="section"><a href="test_output/test_output_progress.html">Progression
|
|
display</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<br> The test execution monitor
|
|
along with standardized output from all included <a class="link" href="testing_tools.html" title="The UTF testing tools">testing
|
|
tools</a> 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<br> 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)<br> 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<br> 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<br> 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 © 2001-2014 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="testing_tools/testing_floating_points.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.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/test_log_output.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|