https://github.com/webgriffe/db-isolation-extension
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
https://github.com/webgriffe/db-isolation-extension
Last synced: over 1 year ago
JSON representation
Magento 1.x extension which isolates database between Ecomdev_PHPUnit's tests.
- Host: GitHub
- URL: https://github.com/webgriffe/db-isolation-extension
- Owner: webgriffe
- License: mit
- Created: 2017-03-16T07:18:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T16:04:48.000Z (about 6 years ago)
- Last Synced: 2024-09-19T01:48:25.352Z (almost 2 years ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Database Isolation Extension
============================
Magento 1.x extension which isolates database between [Ecomdev_PHPUnit](https://github.com/EcomDev/EcomDev_PHPUnit)'s tests.
Install
-------
Install the extension using Composer:
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:
```xml
1
1
```
When `phpunit/db_isolation/enabled` config is set to `1` every test runs inside a database transaction.
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.
License
-------
This library is under the MIT license. See the complete license in the LICENSE file.
Credits
-------
Developed by [Webgriffe®](http://www.webgriffe.com/). Please, report to us any bug or suggestion by GitHub issues.