novaway/common-contexts

Novaway Behat 常用上下文

2.3.2 2017-12-20 06:07 UTC

This package is auto-updated.

Last update: 2024-09-08 08:54:39 UTC


README

Build Status Scrutinizer Code Quality Latest Stable Version

提供最常用的 Behat 测试。

安装

该扩展需要

  • Behat
  • Mink 扩展

使用方法

使用 Composer 添加依赖

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

behat.yml 中启用所需的上下文

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

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