3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Human readable report format</title>
5 <link rel="stylesheet" href="../../../boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../index.html" title="Boost.Test">
8 <link rel="up" href="../report_formats.html" title="Report formats">
9 <link rel="prev" href="../report_formats.html" title="Report formats">
10 <link rel="next" href="report_xml_format.html" title="XML based report output format">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../report_formats.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../report_formats.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="report_xml_format.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_test.test_output.report_formats.report_human_readable_format"></a><a name="ref_report_formats"></a><a class="link" href="report_human_readable_format.html" title="Human readable report format">Human
28 readable report format</a>
29 </h4></div></div></div>
31 The human readable report format is designed to produce the most human
32 friendly description of the results of a test module testing. This is a
33 default format generated by test modules.
36 Depending on the framework's report level the output looks like this:
38 <div class="informaltable"><table class="table">
64 On this level the framework does not produce result report at
65 all. It make sense to use this level for test modules running
66 unattended (as part of some automated regression testing system,
78 <div class="variablelist">
79 <p class="title"><b></b></p>
80 <dl class="variablelist">
81 <dt><span class="term">Passing test</span></dt>
83 *** No errors detected
85 <dt><span class="term">Skipped test</span></dt>
87 *** The test suite <name> was skipped; see standard
90 <dt><span class="term">Aborted test</span></dt>
92 *** The test suite <name> was aborted; see standard
95 <dt><span class="term">Failed test without failed assertions</span></dt>
97 *** Errors were detected in the test suite <name>;
98 see standard output for details
100 <dt><span class="term">Failed test</span></dt>
102 *** N failures are detected in test suite <name>
104 <dt><span class="term">Failed test with some failures expected</span></dt>
106 *** N failures are detected (M failures are expected) in
107 test suite <name>
121 On this level we report result for each test units hierarchically
122 (each test unit is reported as part of parent test unit report.
123 Test cases are reported like this:
125 <pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"> Test case/suite <name> has passed/was skipped/was aborted/has failed/ with:
126 N assertions out of M passed
127 N assertions out of M failed
128 N warnings out of M failed
132 Only relevant lines will appear. If test case does not have failing
133 assertions corresponding line in the report is not shown.
136 Test suite in addition to above lines also report these:
138 <pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"> N test cases out of M passed
139 N test cases out of M passed with warnings
140 N test cases out of M failed
141 N test cases out of M skipped
142 N test cases out of M aborted
145 And similarly to above lines only relevant ones will appear in
158 Short report format is similar to detailed, but only reports
159 information for master test suite
166 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
167 <td align="left"></td>
168 <td align="right"><div class="copyright-footer">Copyright © 2001-2019 Boost.Test
170 Distributed under the Boost Software License, Version 1.0. (See accompanying
171 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>)
176 <div class="spirit-nav">
177 <a accesskey="p" href="../report_formats.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../report_formats.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="report_xml_format.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>