edmondscommerce/behat-error-detection-context

A Behat Context for detecting errors

1.1.0 2016-01-15 12:21 UTC

This package is auto-updated.

Last update: 2024-10-29 03:38:08 UTC


README

By Edmonds Commerce

A simple Behat Context to allow you to use detect errors from the web browser including PHP exception messages

Installation

Install via composer

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

Include Context in Behat Configuration

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