[Opensim-dev] Restructuring test directories

Dr Scofield DrScofield at xyzzyxyzzy.net
Mon Sep 8 10:43:08 UTC 2008


Mike Mazur wrote:
> Hi,
> 
> On Mon, 08 Sep 2008 09:49:43 +0200
> Dr Scofield <DrScofield at xyzzyxyzzy.net> wrote:
> 
>> Mike Mazur wrote:
>>> Hi,
>>>
>>> On Fri, Sep 5, 2008 at 11:45 PM, Melanie <melanie at t-data.com> wrote:
>>>> IMHO, the tests belong in separate DLLs.
>>> I'm kind of with Melanie here. Why force the production DLLs to
>>> larger sizes when those tests are never run against the same
>>> compiled assembly more than once? Also when packaging OpenSim, the
>>> test DLLs can be removed, saving a little on space.
>>>
>>> -1 on combining code and its tests in one assembly.
>> i think having a.b.c.test and having test and code in different
>> assemblies is not contradictory...
> 
> If I understand you correctly, you mean putting the tests close to the
> code they exercise in the tree and putting the tests in the same
> assembly as the code they exercise is not contradictory?
> 
> That's pretty confusing...
> 
> Here's what I think:
> 1. +1 on putting the tests very close to the code they exercise in the
> tree:
> 
> OpenSim/Region/ScriptEngine/Shared/CodeTools/<actual_code>.cs
> OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/<tests_for_actual_code>.cs
> 
> 2. -1 for putting the tests and code they exercise into a single dll.
> The example in 1. should generate two DLLs, one containing the code and
> the other containing the tests.

yes.


> 
> Mike
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
> 


-- 
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- drscofield at xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/
RL: hud at zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/



More information about the Opensim-dev mailing list