1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Some “Best Practices” on Unit Testing</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch16.html" title="Chapter�16.�Making Lire “Test-infected”"><link rel="prev" href="ch16s03.html" title="Running Tests"><link rel="next" href="ch17.html" title="Chapter�17.�Commit Policy"></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">Some “<span class="quote">Best Practices</span>” on Unit Testing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch16s03.html">Prev</a>�</td><th width="60%" align="center">Chapter�16.�Making Lire “<span class="quote">Test-infected</span>”</th><td width="20%" align="right">�<a accesskey="n" href="ch17.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2587989"></a>Some “<span class="quote">Best Practices</span>” on Unit Testing</h2></div></div></div><p>This section lists some tips on how to make
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Some “Best Practices” on Unit Testing</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch16.html" title="Chapter�16.�Making Lire “Test-infected”"><link rel="prev" href="ch16s03.html" title="Running Tests"><link rel="next" href="ch17.html" title="Chapter�17.�Commit Policy"></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">Some “<span class="quote">Best Practices</span>” on Unit Testing</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch16s03.html">Prev</a>�</td><th width="60%" align="center">Chapter�16.�Making Lire “<span class="quote">Test-infected</span>”</th><td width="20%" align="right">�<a accesskey="n" href="ch17.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id328408"></a>Some “<span class="quote">Best Practices</span>” on Unit Testing</h2></div></div></div><p>This section lists some tips on how to make
2
2
effective use of Unit tests in common development
4
4
</p><p><b>Changing interface/implementation.�</b>Before changing a module interface or implementation,