承接 webgriffe/db-isolation-extension 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webgriffe/db-isolation-extension

最新稳定版本:1.3.0

Composer 安装命令:

composer require webgriffe/db-isolation-extension

包简介

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

README 文档

README

Magento 1.x extension which isolates database between 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 version="1.0"?>
<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.

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®. Please, report to us any bug or suggestion by GitHub issues.

统计信息

  • 总下载量: 19.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-16