2017 © Pedro PelĂĄez
 

magento-module db-isolation-extension

Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.

image

webgriffe/db-isolation-extension

Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.

  • Friday, March 17, 2017
  • by mmenozzi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Database Isolation Extension

Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests., (*1)

Install

Install the extension using Composer:, (*2)

composer require webgriffe/db-isolation-extension

Configuration

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)

License

This library is under the MIT license. See the complete license in the LICENSE file., (*6)

Credits

Developed by WebgriffeÂź. Please, report to us any bug or suggestion by GitHub issues., (*7)

The Versions

17/03 2017

dev-master

9999999-dev

Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.

  Sources   Download

MIT

17/03 2017

1.0.0

1.0.0.0

Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.

  Sources   Download

MIT