You are here

FeatureContext.php in Entity Construction Kit (ECK) 7.2

Same filename and directory in other branches
  1. 7.3 tests/behat/features/bootstrap/FeatureContext.php

Custom behat step definitions.

File

tests/behat/features/bootstrap/FeatureContext.php
View source
<?php

/**
 * @file
 * Custom behat step definitions.
 */
use Behat\Behat\Context\ClosuredContextInterface, Behat\Behat\Context\TranslatedContextInterface, Behat\Behat\Context\BehatContext, Behat\Behat\Exception\PendingException;
use Behat\Gherkin\Node\PyStringNode, Behat\Gherkin\Node\TableNode;

/**
 * Features context.
 */
class FeatureContext extends Drupal\DrupalExtension\Context\DrupalContext {

  /**
   * Initializes context.
   *
   * Every scenario gets its own context object.
   *
   * @param array $parameters
   *   Context parameters (set them up through behat.yml)
   */
  public function __construct(array $parameters) {
  }

}

Classes

Namesort descending Description
FeatureContext Features context.