FeatureContext.php in Panopoly 7
Same filename and directory in other branches
The main Behat context.
File
modules/panopoly/panopoly_test/behat/features/bootstrap/FeatureContext.phpView source
<?php
/**
* @file
* The main Behat context.
*/
use Drupal\DrupalExtension\Context\RawDrupalContext;
use Behat\Behat\Context\SnippetAcceptingContext;
/**
* Define application features from the specific context.
*/
class FeatureContext extends RawDrupalContext implements SnippetAcceptingContext {
/**
* Initializes context.
* Every scenario gets its own context object.
*
* @param array $parameters
* Context parameters (set them in behat.yml)
*/
public function __construct() {
// Initialize your context here
}
}
Classes
Name | Description |
---|---|
FeatureContext | Define application features from the specific context. |