[xwiki-dev] Testing guide on xwiki.org

Vincent Massol vincent at massol.net
Wed Mar 7 15:55:03 CET 2007


On Mar 7, 2007, at 3:37 PM, Gilles Serasset wrote:

> Hi all,
>
> It's somewhat related to testing, but I currently find rather  
> confusing the way configuration/settings files are handled in the  
> project.
>
> When compiling with ant it come with no modifications from the  
> xwiki-standard web app. But when tests are done, it's quite  
> difficult to find where/what filters these settings and where they  
> are stored prior to test execution. This is even worse when  
> different IDE get in the way...

All configuration data is supposed to be in xwiki.cfg.

> Moreover, we should certainly be able to test different  
> configurations (i.e. different databases, different encodings, etc.).

Yep.

>
> Maybe the handling of these conf files should be rationalized ?

Agreed. What's your suggestion/proposal?

One approach I have in mind for this is to let the build tool build  
different xwiki distributions (different databases, different  
containers). However this doesn't solve all the possible  
configuration variations that exist. I think for these we should be  
able to modify them when XWiki is online so that the tests can change  
them on the fly. Any other idea?

Thanks
-Vincent

>
> I'm not volunteering for this as it require much more skill than I  
> can provide... It's just a suggestion, and maybe a request for  
> comments...
>
> Regards,
>
> Gilles,
>
>
> On 7 mars 07, at 14:24, Vincent Massol wrote:
>
>> Hi,
>>
>> Just wanted to let you know I have started a page about Testing on  
>> xwiki.org. It's meant to continue our official testing strategy:
>>
>> http://www.xwiki.org/xwiki/bin/view/Community/Testing
>>
>> There isn't much now but we'll go from there and improve it as we  
>> firm up our testing strategy.
>>
>> Please comment and suggest ideas.
>>
>> Thanks
>> -Vincent
>>
>>
>>
>> --
>> You receive this message as a subscriber of the xwiki- 
>> dev at objectweb.org mailing list.
>> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
>> For general help: mailto:sympa at objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http:// 
>> www.objectweb.org/wws
>
> --
> Gilles Sérasset
> GETALP-LIG
> BP 53 - F-38041 Grenoble Cedex 9
> Phone: +33 4 76 51 43 80
> Fax:   +33 4 76 44 66 75
>
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki- 
> dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws





More information about the devs mailing list