This reminds me of one idea that I had for the functional tests. Since 
some tests would require some sort of client to connect, I was thinking 
about doing this:
Fixing up the python client libs that I had a start on. In a functional 
test map that wants a 'player', make a script that uses crossfire's 
python plugin to load, and then split off into a separate thread so it 
doesn't block the server from running, and start a client using the 
python libs.
This setup would allow tests that need a 'client' to get one with 
minimal effort, and only modifying the resource files. It also might be 
possible/better to instead of loading via a map, have the test framework 
directly start the python.

Alex Schultz

Tchize wrote:

>Mark Wedel a écrit :
>  
>
>> Random question - is there any framework in place for external functional 
>> tests?
>>
>no
>  
>
>> I ask because to reproduce and confirm I fixed the setup buffer overflow 
>> bug, 
>>I  do have an external perl script which would be nice to toss somewhere.
>>

_______________________________________________
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to