You are here

class FeatureContext in Event 8

FeatureContext class defines custom step definitions for Behat.

Hierarchy

  • class \Drupal\FeatureContext extends \Drupal\DrupalExtension\Context\RawDrupalContext implements \Behat\Behat\Context\SnippetAcceptingContext

Expanded class hierarchy of FeatureContext

File

tests/behat/features/bootstrap/Drupal/FeatureContext.php, line 11

Namespace

Drupal
View source
class FeatureContext extends RawDrupalContext implements SnippetAcceptingContext {

  /**
   * Initializes context.
   *
   * Every scenario gets its own context instance.
   * You can also pass arbitrary arguments to the
   * context constructor through behat.yml.
   */
  public function __construct() {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FeatureContext::__construct public function Initializes context.