<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Alan,<BR>
 <BR>
I was not referring to the OpenSim binary, but binary distributions based on OpenSim, like Tribal Net, for example. OpenSim is not only used as an application, but is also used as a platform and API for other applications. Also, OpenSim binaries are being used in production and pushed onto production servers.<BR>
 <BR>
For those cases, they would have to strip that test code out manually on every update, which would suck. Keeping assembly dependencies down to a bare minimum is good practice. Not bloating code unnecessarily is good practice.<BR>
 <BR>
Of course we all want testing. Pragmatic testing that moves the project forward. We definitively have regressions with almost every version. That sucks.<BR>
 <BR>
But I see no reason not to discuss and find a way to organize those tests we all want written in a good and productive manner, just because there at the moment aren't that many of them.<BR><BR>
I actually at one time advocated having code and tests in the same assemblies in a TDD project I was the coach on. It turned out to be a bad idea for when deployment came.<BR>
 <BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR> <BR>Join the 3d web revolution : <A href="http://tribalnet.se/" target=_blank>http://tribalnet.se/</A><BR> <BR><BR><BR><BR>

<HR id=EC_stopSpelling>
<BR>
To: opensim-dev@lists.berlios.de<BR>From: alan_webb@us.ibm.com<BR>Date: Fri, 5 Sep 2008 13:26:32 -0400<BR>Subject: Re: [Opensim-dev] Restructuring test directories<BR><BR><BR><FONT face=sans-serif size=2>Having followed this conversation thus far, and knowing zero about nunit (other than the fact it didn't work after I upgraded to Fedora 9):</FONT> <BR><BR><FONT face=sans-serif size=2>Until such time as we have an application in which a bug is genuinely considered to be unexpected, as opposed to business-as-usal, the test cases rally should be a part of the "distribution".</FONT> <BR><FONT face=sans-serif size=2>Which raises the question: Do we have a "distribution" in the sense of a consistently formed binary distribution that is distinct from the development tree?</FONT> <BR><BR><FONT face=sans-serif size=2>Where test cases go should might their nature: we should have (eventually anyway) unit, functional, compliance, regression, performance, and system tests. Others?</FONT> <BR><FONT face=sans-serif size=2>Personally, I don't think *where* the test case source goes makes much difference to anything, both approaches have merits.</FONT> <BR><BR><FONT face=sans-serif size=2>+1 to binaries WITOUT tests included</FONT> <BR><FONT face=sans-serif size=2>+1 to binaries WITH tests included.</FONT> <BR><FONT face=sans-serif size=2>+1 to tests kept with the code to which they relate</FONT> <BR><FONT face=sans-serif size=2>+1 to tests kept in a separate testing subtree.</FONT> <BR><BR><FONT face=sans-serif size=2>But most of all:</FONT> <BR><BR><FONT face=sans-serif size=2>+1 to tests</FONT> <BR><FONT face=sans-serif size=2>AND</FONT> <BR><FONT face=sans-serif size=2>+2 to using them.</FONT> <BR><FONT face=sans-serif size=2><BR>Best regards<BR>Alan<BR>-------------------<BR>T.J. Watson Research Center, Hawthorne, NY<BR>1-914-784-7286<BR>alan_webb@us.ibm.com</FONT> <BR><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>Stefan Andersson <stefan@tribalmedia.se></B> </FONT><BR><FONT face=sans-serif size=1>Sent by: opensim-dev-bounces@lists.berlios.de</FONT> 
<FONT face=sans-serif size=1>09/05/2008 12:51 PM</FONT> 
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond to<BR>opensim-dev@lists.berlios.de</FONT></DIV></TR></TBODY></TABLE><BR><BR>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif size=1><opensim-dev@lists.berlios.de></FONT> 
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>Re: [Opensim-dev] Restructuring test directories</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT face=Tahoma size=2>Not to mention the additional and superfluous refernces to the test framework. You do not want those to be part of your distribution.<BR><BR>-1 on merging them, +1 on keeping them close to each others.<BR><BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR><BR>Join the 3d web revolution : </FONT><A href="http://tribalnet.se/" target=_blank><FONT face=Tahoma color=blue size=2><U>http://tribalnet.se/</U></FONT></A><FONT face=Tahoma size=2><BR><BR><BR><BR><BR></FONT>
<HR>
<FONT face=Tahoma size=2><BR>> Date: Fri, 5 Sep 2008 23:41:26 +0900<BR>> From: mmazur@gmail.com<BR>> To: opensim-dev@lists.berlios.de<BR>> Subject: Re: [Opensim-dev] Restructuring test directories<BR>> <BR>> <BR>> Hi,<BR>> <BR>> On Fri, Sep 5, 2008 at 11:45 PM, Melanie <melanie@t-data.com> wrote:<BR>> > IMHO, the tests belong in separate DLLs.<BR>> <BR>> I'm kind of with Melanie here. Why force the production DLLs to larger<BR>> sizes when those tests are never run against the same compiled<BR>> assembly more than once? Also when packaging OpenSim, the test DLLs<BR>> can be removed, saving a little on space.<BR>> <BR>> -1 on combining code and its tests in one assembly.<BR>> <BR>> Mike<BR>> _______________________________________________<BR>> Opensim-dev mailing list<BR>> Opensim-dev@lists.berlios.de<BR>> https://lists.berlios.de/mailman/listinfo/opensim-dev<BR></FONT><TT><FONT size=2>_______________________________________________<BR>Opensim-dev mailing list<BR>Opensim-dev@lists.berlios.de<BR>https://lists.berlios.de/mailman/listinfo/opensim-dev<BR></FONT></TT><BR></body>
</html>