novaway/common-contexts

Novaway Behat common contexts

2.3.2 2017-12-20 06:07 UTC

README

Build Status Scrutinizer Code Quality Latest Stable Version

Provide most common behat tests.

Installation

The extension requires :

  • Behat
  • Mink extension

Usage

Add dependencies with Composer :

$ php composer.phar require --dev novaway/common-contexts "~2.0"

In behat.yml, enable desired contexts:

default:
    suites:
        default:
            contexts:
                - nwcontext:form
                - nwcontext:formstone
                - nwcontext:select2:
                    timeout: 60

    # ...
    extensions:
        Novaway\CommonContexts\Extension: ~