jorgegc / behat-drupal-extension

在Behat测试中使用Drupal的常用功能。

0.1.0 2015-08-12 05:49 UTC

This package is not auto-updated.

Last update: 2024-09-28 17:49:05 UTC


README

概述

在Behat测试中使用Drupal的常用功能。

可用上下文

  • WatchdogContext
    • 为与Drupal watchdog交互提供步骤定义。

安装

可以使用Composer检出此项目。

"require": {
    "jorgegc/behat-drupal-extension": "*"
}

使用方法

在您的behat.yml文件中声明您想要使用的上下文。

示例

default:
  # ...
  suites:
    default:
      contexts:
        - JGC\Behat\DrupalExtension\Context\WatchdogContext