mirror of
https://github.com/boostorg/test.git
synced 2026-02-14 01:02:13 +00:00
73 lines
4.4 KiB
HTML
73 lines
4.4 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>What is Boost.Test?</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="../index.html" title="Boost.Test">
|
|
<link rel="next" href="intro/objective_and_content.html" title="Objective and content">
|
|
</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="../index.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="intro/objective_and_content.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.intro"></a><a class="link" href="intro.html" title="What is Boost.Test?">What is Boost.Test?</a>
|
|
</h2></div></div></div>
|
|
<div class="toc"><dl class="toc">
|
|
<dt><span class="section"><a href="intro/objective_and_content.html">Objective and
|
|
content</a></span></dt>
|
|
<dt><span class="section"><a href="intro/features_implemented.html">Features implemented</a></span></dt>
|
|
<dt><span class="section"><a href="intro/portability_concerns.html">Portability concerns</a></span></dt>
|
|
</dl></div>
|
|
<div class="blockquote"><blockquote class="blockquote"><p>
|
|
The acceptance test makes the customer satisfied that the software provides
|
|
the business value that makes them willing to pay for it. The unit test makes
|
|
the programmer satisfied that the software does what the programmer thinks
|
|
it does
|
|
</p></blockquote></div>
|
|
<p>
|
|
--Xp Maxim
|
|
</p>
|
|
<p>
|
|
What is the first thing you need to do when you start working on new library/class/program?
|
|
That's right - you need to start with the unit test module (I hope you all
|
|
gave this answer!). Occasional, simple test may be implemented using <code class="computeroutput"><span class="identifier">assert</span></code>s. But any professional developer soon
|
|
finds this approach lacking. It becomes clear that it's too time-consuming
|
|
and tedious for simple, but repetitive unit testing tasks and it's too inflexible
|
|
for most non-trivial ones.
|
|
</p>
|
|
<p>
|
|
The Boost Test Library Unit Test Framework (further in the documentation referred
|
|
by the acronym <span class="emphasis"><em>UTF</em></span>) provides both an easy to use and flexible
|
|
solution to this problem domain: C++ unit test implementation and organization.
|
|
</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-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="../index.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="intro/objective_and_content.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|