Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 928 Bytes

configuration.md

File metadata and controls

43 lines (37 loc) · 928 Bytes

Installation

Execute

composer require --dev knplabs/friendly-contexts dev-master

Edit behat.yml

default:
    # ...
    suites:
        default:
            # ...
            contexts:
                - # ...
                - Knp\FriendlyContexts\Context\MinkContext
                - Knp\FriendlyContexts\Context\TableContext
                - Knp\FriendlyContexts\Context\EntityContext
    extensions:
        # ...
        Knp\FriendlyContexts\Extension: ~

###Kernel configuration

If you have some fancy kernel configuration, you can just set it like this (shown values are default):

default:
    # ...
    extensions:
        # ...
        Knp\FriendlyContexts\Extension:
            symfony_kernel:
                bootstrap: app/autoload.php
                path: app/AppKernel.php
                class: AppKernel
                env: test
                debug: true