edmondscommerce/behat-error-detection-context

用于检测错误的 Behat 上下文

1.1.0 2016-01-15 12:21 UTC

This package is auto-updated.

Last update: 2024-08-29 03:08:07 UTC


README

Edmonds Commerce 提供

一个简单的 Behat 上下文,允许您从网页浏览器中检测错误,包括 PHP 异常消息

安装

通过 composer 安装

"edmondscommerce/behat-error-detection-context": "~1.0"

在 Behat 配置中包含上下文

default:
    # ...
    suites:
        default:
            # ...
            contexts:
                - # ...
                - EdmondsCommerce\BehatErrorDetection\ErrorDetectionContext
                - EdmondsCommerce\BehatErrorDetection\W3CValidationContext
                - EdmondsCommerce\BehatErrorDetection\XDebugContext
            parameters:
                w3cValidationSettings:
                    errorThreshold: 0