While building some useful scenario tests to test the general functionality of
my Data Mapper proposal, i came accross the problem that you cannot use the
Database extension suite of PHPUnit with Zend_Db_Adapter_Abstract instances.
This makes testing a tedious task handling with different database connections.
Because its so easy to extend the DB Extension this is the proposal to do so
within the Zend_Test namespace and its ready for review!
There will to be only some simple extensions of interfaces and abstract
classes and also some additional features for Zend_Db_Table and
Zend_Db_Profiler to get this running and make it much more useful in a ZF
context, as it is for PDO driven applications with the default Database
extension.
greetings,
Benjamin
--
Benjamin Eberlei
http://www.beberlei.de
没有评论:
发表评论