dev-master
9999999-devMagento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
MIT
1.0.0
1.0.0.0Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
MIT
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests., (*1)
Install the extension using Composer:, (*2)
composer require webgriffe/db-isolation-extension
Put an XML file in app/etc
, for example app/etc/db_isolation.xml
, with the following content:, (*3)
<config> <phpunit> <db_isolation> <enabled>1</enabled> <warning_enabled>1</warning_enabled> </db_isolation> </phpunit> </config>
When phpunit/db_isolation/enabled
config is set to 1
every test runs inside a database transaction., (*4)
When phpunit/db_isolation/warning_enabled
config is set to 1
the extension will set tests as risky if the database changes after its execution., (*5)
This library is under the MIT license. See the complete license in the LICENSE file., (*6)
Developed by WebgriffeÂź. Please, report to us any bug or suggestion by GitHub issues., (*7)
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
MIT
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
MIT