blob: 26420b96f0506c8207b6e2be36417705620e4e01 [file] [log] [blame]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>The UTF usage variants or the Buridan's donkey parable</title>
<link rel="stylesheet" href="../../../style/style.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="../../index.html" title="Boost Test Library">
<link rel="up" href="../user-guide.html" title="Unit Test Framework: User's guide">
<link rel="prev" href="../user-guide.html" title="Unit Test Framework: User's guide">
<link rel="next" href="usage-variants/static-lib-variant.html" title="The static library variant of the UTF">
<script language="JavaScript1.2" src="../../../js/boost-test.js"></script>
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table width="100%"><tr>
<td width="10%"><a href="../../index.html"><img alt="Home" width="229" height="61" border="0" src="../../../../../../libs/test/docbook/img/boost.test.logo.png"></a></td>
<td valign="middle" align="left"> &gt; <a href="../../utf.html">The Unit Test Framework</a> &gt; <a href="../user-guide.html">User's guide</a><a href="../testing-tools.html">
&gt;
</a><b>Usage variants</b><a href="test-runners.html">
&gt;
</a>
</td>
<td><div class="spirit-nav">
<a href="../user-guide.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a href="usage-variants/static-lib-variant.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div></td>
</tr></table>
<hr>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="utf.user-guide.usage-variants"></a>The <acronym class="acronym">UTF</acronym> usage variants or the <a href="http://en.wikipedia.org/wiki/Buridan's_ass" target="_top">Buridan's donkey</a> parable</h4></div></div></div>
<p class="first-line-indented">
The <acronym class="acronym">UTF</acronym> presents you with 4 different variants how it can be used.
</p>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="itemizedlist"><ul type="disc">
<li><a class="link" href="usage-variants/static-lib-variant.html" title="The static library variant of the UTF">The static library variant</a></li>
<li><a class="link" href="usage-variants/dynamic-lib-variant.html" title="The dynamic library variant of the UTF">The dynamic library variant</a></li>
<li><a class="link" href="usage-variants/single-header-variant.html" title="The single-header variant of the UTF">The single-header variant</a></li>
<li><a class="link" href="usage-variants/extern-test-runner-variant.html" title="The external test runner variant of the UTF">The external test runner variant</a></li>
</ul></div>
<p class="first-line-indented">
Unlike the Buridan's donkey though, you shouldn't have problems deciding which one to use, since there are
clear reasons why would you prefer each one.
</p>
<p class="first-line-indented">
In most cases to compile a test module based on the <acronym class="acronym">UTF</acronym> all you need to include is just the single header
<code class="filename">boost/test/unit_test.hpp</code>. This header includes internally most of the other
headers that contains the <acronym class="acronym">UTF</acronym> definitions. Some advanced features, like the floating point comparison or the
logged expectations testing, are defined in independent headers and need to be included explicitly.
</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 © 2001-2007 Gennadiy Rozental</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../user-guide.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../user-guide.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="usage-variants/static-lib-variant.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>