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
DrupalView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeatureContext:: |
public | function | Initializes context. |