<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Feel free to monitor QA ideas here, that may emerge from the email
below:<br>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/archive/sugar-devel/2010-August/thread.html#26083">http://lists.sugarlabs.org/archive/sugar-devel/2010-August/thread.html#26083</a><br>
<br>
<br>
<table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
  <tbody>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
      <td>[Sugar-devel] Unit &amp; integration testing - tools
discussion</td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">Date: </th>
      <td>Thu, 12 Aug 2010 08:15:32 +1200</td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">From: </th>
      <td>Tim McNamara <a class="moz-txt-link-rfc2396E" href="mailto:paperless@timmcnamara.co.nz">&lt;paperless@timmcnamara.co.nz&gt;</a></td>
    </tr>
    <tr>
      <th align="right" nowrap="nowrap" valign="baseline">To: </th>
      <td>Sugar Developers <a class="moz-txt-link-rfc2396E" href="mailto:sugar-devel@lists.sugarlabs.org">&lt;sugar-devel@lists.sugarlabs.org&gt;</a></td>
    </tr>
  </tbody>
</table>
<br>
I would like to start a thread on unit &amp; integration testing. I
have two main questions:
<div><br>
</div>
<div>1) Where should tests be located</div>
<div>2) Which testing framework to use</div>
<div><br>
</div>
<div>Some options for 1:</div>
<div>&nbsp;- every Sugar project decides for itself</div>
<div>&nbsp;- root/tests in each project</div>
<div>&nbsp;- a meta project that houses tests for several/all Sugar projects</div>
<div><br>
</div>
<div>Some options for 2:</div>
<div>&nbsp;- unittest</div>
<div>&nbsp;- nose</div>
<div>&nbsp;- py.test</div>
<div><br>
</div>
<div>My preferences:</div>
<div>1: root/tests for each project</div>
<div>2: py.test - primarily because it supports distributed testing,
that will make support for alternate Python versions much easier (if we
have test sufficient coverage)</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Tim.</div>
</body>
</html>