[Opensim-dev] Restructuring test directories

Justin Clark-Casey jjustincc at googlemail.com
Fri Sep 5 21:38:51 UTC 2008


Dickson, Mike (ISS Software) wrote:
> 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.
>   
We run the tests on every build.  I'm hoping to post the results to the 
IRC channel and other places, and I hope that this will be enough of an 
imperative to keep them passing.  I'll also probably start bugging 
people if they don't get fixed up.

If any of the core developers don't think that this is a good idea and 
wouldn't be prepared to fix up tests that break (with reasonable 
exceptions, of course), please say so and we can discuss it now.

Regards,

justincc
> 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
> _______________________________________________
> 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