|
|
@@ -5,10 +5,10 @@
|
|
|
|
|
|
<para>
|
|
|
Coupling of data-access and the domain model often requires the use of a database for
|
|
|
- testing purposes. But the database is persistet accross different tests which leads to
|
|
|
+ testing purposes. But the database is persistent across different tests which leads to
|
|
|
test results that can affect each other. Furthermore setting up the database to be able to
|
|
|
run a test is quite some work. PHPUnit's Database extension simplifies testing with a
|
|
|
- database by offering a very simple mechanism to setup and teardown the database between
|
|
|
+ database by offering a very simple mechanism to set up and teardown the database between
|
|
|
different tests. This component extends the PHPUnit Database extension with Zend Framework
|
|
|
specific code, such that writing database tests against a Zend Framework application is
|
|
|
simplified.
|
|
|
@@ -28,7 +28,7 @@
|
|
|
|
|
|
<para>
|
|
|
Furthermore this component allows to integrate any
|
|
|
- <classname>Zend_Db_Adapter_Abstract</classname> for testing wheras the original extension
|
|
|
+ <classname>Zend_Db_Adapter_Abstract</classname> for testing whereas the original extension
|
|
|
only works with <acronym>PDO</acronym>. A Test Adapter implementation for
|
|
|
<classname>Zend_Db_Adapter_Abstract</classname> is also included in this component. It
|
|
|
allows to instantiate a Db Adapter that requires no database at all and acts as an
|