Re: mock driver

From: Date: Thu, 15 May 2003 00:42:06 +0000
Subject: Re: mock driver
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16273@lists.php.net to get a copy of this message
While the xml thing is a nice idea, it's a pretty poor alternative to using sqlLite, in terms of reducing the amount of work (and barriers) required to make unit tests work with database packages. - just needs someone to write the pear db/mdb driver for it :) Regards Alan Sebastian Roebke wrote:
Hi!
there is a flat file db with an sql interface for php .. if we write a driver for it then we would be all set.
Basically I find this a quite nice idea, but I have two thoughts on this. The problems I see here: 1) Instead of a db access you would need a directory to write data to anyway, so something has to be configured even with a flat file db only. 2) The flat file db would have to support quite a lot of SQL. By using a flat file db, PEAR packages would depend on the features it provides to fulfill the tests. But, to be fair, I have not been looking yet at what is provided by the mentioned system. Best regards, Sebastian Roebke


« previous php.pear.dev (#16273) next »