[Koha-devel] DB dependant test-cases

Chris Nighswonger cnighswonger at foundations.edu
Thu Mar 17 12:42:00 CET 2011


 On Thu, Mar 17, 2011 at 7:18 AM, Paul Poulain <paul.poulain at biblibre.com>wrote:

<snip>


>
> So what about having a default database ?
> If one want/need to write a test that can be tested only with another
> setup, it could be :
> * modify default setting
> * do your test
> * restore default setting
>
> (ie: you want to test something for IndependantBranch=ON and the default
> is OFF : you set ON, do your test, you set OFF)
>
> Is it a good idea ?
>

+1 to that; its a bit of a headache to run the db dependent tests as things
are.

Kind Regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20110317/032cedf4/attachment.htm>


More information about the Koha-devel mailing list