[Opensim-dev] Restructuring test directories

Dickson, Mike (ISS Software) mike.dickson at hp.com
Fri Sep 5 14:41:09 UTC 2008


Not doing any serious development on OpenSIM at present (though working to come up to speed to do so).  I strongly agree with Melanie here though. Tests may pull in dependencies that are unneeded in the production code.

IMO, tests only get maintained when developers commit to maintaining them. I'm sure we've all seen cases where test code is way out of date even though its located with or in the same file with an implementation.

Mike

-----Original Message-----
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Melanie
Sent: Friday, September 05, 2008 9:45 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Restructuring test directories

IMHO, the tests belong in separate DLLs. Especially in the case of
the script engines including them in the main assembly  is to be
avoided at all cost, as they pull deps in behind them and use up
space in the already cramped appdomains. That code needs to remain
lean and free of code not needed to do the job. Having the tests in
memory at all times causes bloat.

Melanie


Sean Dague wrote:
> Melanie wrote:
>> Hi,
>>
>> because of the way prebuild works, the tests would then be compiled
>> into them ain assembly. That is not what we want.
>
> So, I'm confused as to why we wouldn't want the tests in the main
> assemblies.  OpenSim.Region.Environment already does this, and it seems
> way saner than seperate trees for tests, and it much more likely to keep
> those tests up to date and relevant.
>
>       -Sean
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev



More information about the Opensim-dev mailing list