| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>gtester</title> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> |
| <link rel="home" href="index.html" title="GLib Reference Manual"> |
| <link rel="up" href="tools.html" title="GLib Tools"> |
| <link rel="prev" href="glib-gettextize.html" title="glib-gettextize"> |
| <link rel="next" href="gtester-report.html" title="gtester-report"> |
| <meta name="generator" content="GTK-Doc V1.14 (XML mode)"> |
| <link rel="stylesheet" href="style.css" type="text/css"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> |
| <td><a accesskey="p" href="glib-gettextize.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> |
| <td><a accesskey="u" href="tools.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> |
| <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
| <th width="100%" align="center">GLib Reference Manual</th> |
| <td><a accesskey="n" href="gtester-report.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> |
| </tr></table> |
| <div class="refentry" title="gtester"> |
| <a name="gtester"></a><div class="titlepage"></div> |
| <div class="refnamediv"><table width="100%"><tr> |
| <td valign="top"> |
| <h2><span class="refentrytitle">gtester</span></h2> |
| <p>gtester — test running utility</p> |
| </td> |
| <td valign="top" align="right"></td> |
| </tr></table></div> |
| <div class="refsynopsisdiv" title="Synopsis"> |
| <h2>Synopsis</h2> |
| <div class="cmdsynopsis"><p><code class="command">gtester</code> [option...] [testprogram]</p></div> |
| </div> |
| <div class="refsect1" title="Description"> |
| <a name="id480712"></a><h2>Description</h2> |
| <p><span class="command"><strong>gtester</strong></span> is a utility to run unit tests that have |
| been written using the GLib test framework. |
| </p> |
| <p> |
| When called with the <code class="option">-o</code> option, <span class="command"><strong>gtester</strong></span> |
| writes an XML report of the test results, which can be converted |
| into HTML using the <span class="command"><strong>gtester-report</strong></span> utility. |
| </p> |
| <div class="refsect2" title="Options"> |
| <a name="id457359"></a><h3>Options</h3> |
| <div class="variablelist"><table border="0"> |
| <col align="left" valign="top"> |
| <tbody> |
| <tr> |
| <td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td> |
| <td><p> |
| print help and exit |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td> |
| <td><p> |
| print version information and exit |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">--g-fatal-warnings</code></span></p></td> |
| <td><p> |
| make warnings fatal |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-k</code>, <code class="option">--keep-going</code></span></p></td> |
| <td><p> |
| continue running after tests failed |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-l</code></span></p></td> |
| <td><p> |
| list paths of available test cases |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-m=<em class="replaceable"><code>MODE</code></em></code></span></p></td> |
| <td><p> |
| run test cases in <em class="replaceable"><code>MODE</code></em>, which can be perf, slow, thorough or quick. The default mode is quick. |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-p=<em class="replaceable"><code>TESTPATH</code></em></code></span></p></td> |
| <td><p> |
| only run test cases matching <em class="replaceable"><code>TESTPATH</code></em> |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">--seed=<em class="replaceable"><code>SEEDSTRING</code></em></code></span></p></td> |
| <td><p> |
| run all test cases with random number seed <em class="replaceable"><code>SEEDSTRING</code></em> |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-o=<em class="replaceable"><code>LOGFILE</code></em></code></span></p></td> |
| <td><p> |
| write the test log to <em class="replaceable"><code>LOGFILE</code></em> |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">-q</code>, <code class="option">--quiet</code></span></p></td> |
| <td><p> |
| suppress per test binary output |
| </p></td> |
| </tr> |
| <tr> |
| <td><p><span class="term"><code class="option">--verbose</code></span></p></td> |
| <td><p> |
| report success per testcase |
| </p></td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| </div> |
| <div class="refsect1" title="See also"> |
| <a name="id554614"></a><h2>See also</h2> |
| <p> |
| <span class="command"><strong>gtester-report</strong></span>(1) |
| </p> |
| </div> |
| </div> |
| <div class="footer"> |
| <hr> |
| Generated by GTK-Doc V1.14</div> |
| </body> |
| </html> |