On Thu, Apr 10, 2008 at 09:29:43PM +0200, Brian Sutherland wrote:
> On Thu, Apr 10, 2008 at 07:31:54PM +0200, Andreas Jung wrote:
> > Please *NO* database specific configurations within ZCML. We're running 
> > applications in up three or four different environments and I don't want to 
> > maintain instance specific configurations within ZCML. Either we pass
> > such informations through environment variables or the database connections 
> > parameters are read from a configuration within the instance configuration.

I must admit though, that being able to set an environment variable and
have an IZopeDatabaseAdapter utility registered from that would make
setting up functional tests much nicer.

Currently, because of layers, all my functional tests run against a
magical database "test" :(((

Brian Sutherland
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to