This file is indexed.

/usr/share/doc/lire/dev-manual/ch16.html is in lire-devel-doc 2:2.1.1-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 16. Making Lire &#8220;Test-infected&#8221;</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="pt04.html" title="Part IV. Lire Developers' Conventions"><link rel="prev" href="ch15s02.html" title="Perl Coding Standards"><link rel="next" href="ch16s02.html" title="Writing Tests"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 16. Making Lire <span class="quote">&#8220;<span class="quote">Test-infected</span>&#8221;</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15s02.html">Prev</a> </td><th width="60%" align="center">Part IV. <span class="application">Lire</span> Developers' Conventions</th><td width="20%" align="right"> <a accesskey="n" href="ch16s02.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 16. Making Lire &#8220;Test-infected&#8221;"><div class="titlepage"><div><div><h2 class="title"><a name="chap:unit-testing"></a>Chapter 16. Making Lire <span class="quote">&#8220;<span class="quote">Test-infected</span>&#8221;</span></h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch16.html#id417573">Unit Tests in Lire</a></span></dt><dd><dl><dt><span class="section"><a href="ch16.html#id417578">PerlUnit</a></span></dt></dl></dd><dt><span class="section"><a href="ch16s02.html">Writing Tests</a></span></dt><dt><span class="section"><a href="ch16s03.html">Running Tests</a></span></dt><dt><span class="section"><a href="ch16s04.html">Some <span class="quote">&#8220;<span class="quote">Best Practices</span>&#8221;</span> on Unit Testing</a></span></dt></dl></div><p>Soon after the release of <span class="application">Lire</span>
        <span class="productnumber">1.2.1</span>, unit tests were
        introduced in the source tree. Unit tests help development in
        several ways; the most important one being that you can make
        changes to code and run the unit tests to make sure that
        nothing was broken by that changes.
      </p><p>You can find helpful resources on Unit testing on the
        <a class="ulink" href="http://perlunit.sourceforge.net/" target="_top">PerlUnit home
        page</a> as well as on the <a class="ulink" href="http://perlunit.sourceforge.net/" target="_top">JUnit home page</a>
        from which it was inspired.
      </p><div class="section" title="Unit Tests in Lire"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id417573"></a>Unit Tests in Lire</h2></div></div></div><div class="section" title="PerlUnit"><div class="titlepage"><div><div><h3 class="title"><a name="id417578"></a>PerlUnit</h3></div></div></div><p>Unit tests are written using the PerlUnit framework.
            You need to install version 0.24 or later of the
            <code class="systemitem">Test::Unit</code> to run the unit tests.
          </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch15s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch16s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Perl Coding Standards </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Writing Tests</td></tr></table></div></body></html>