2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-02 21:22:10 +00:00
Files
test/doc/v2/html/boost_test/testing_tools.html
2014-04-28 14:53:43 +02:00

70 lines
4.8 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>The UTF testing tools</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="tests_organization/fixtures/global_fixture.html" title="Global fixture">
<link rel="next" href="testing_tools/tools_assertion_severity_level.html" title="Assertion severity level">
</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="tests_organization/fixtures/global_fixture.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="testing_tools/tools_assertion_severity_level.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.testing_tools"></a><a class="link" href="testing_tools.html" title="The UTF testing tools">The <span class="emphasis"><em>UTF</em></span>
testing tools</a>
</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="testing_tools/tools_assertion_severity_level.html">Assertion
severity level</a></span></dt>
<dt><span class="section"><a href="testing_tools/custom_predicates.html">Custom predicate
support</a></span></dt>
<dt><span class="section"><a href="testing_tools/output_stream_testing.html">Output
streams testing tool</a></span></dt>
<dt><span class="section"><a href="testing_tools/testing_floating_points.html">Floating-point
testing</a></span></dt>
</dl></div>
<p>
The <span class="emphasis"><em>UTF</em></span>'s supplies a toolbox of testing tools to ease
creation and maintenance of test programs and provide a uniform error reporting
mechanism. The toolbox supplied in most part in a form of macro and function
declarations. While the functions can be called directly, the usual way to
use testing tools is via convenience macros. All macros arguments are calculated
once, so it's safe to pass complex expressions in their place. All tools automatically
supply an error location: a file name and a line number. The testing tools
are intended for unit test code rather than library or production code, where
throwing exceptions, using <code class="computeroutput"><span class="identifier">assert</span><span class="special">()</span></code>, <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">concept_check</span></code>
or <code class="computeroutput"><span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">()</span></code>
may be more suitable ways to detect and report errors. For list of all supplied
testing tools and usage examples see the reference.
</p>
</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-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="tests_organization/fixtures/global_fixture.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="testing_tools/tools_assertion_severity_level.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>