<!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 & 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"><paperless@timmcnamara.co.nz></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"><sugar-devel@lists.sugarlabs.org></a></td>
</tr>
</tbody>
</table>
<br>
I would like to start a thread on unit & 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> - every Sugar project decides for itself</div>
<div> - root/tests in each project</div>
<div> - a meta project that houses tests for several/all Sugar projects</div>
<div><br>
</div>
<div>Some options for 2:</div>
<div> - unittest</div>
<div> - nose</div>
<div> - 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>