class FeatureContext in Drupal Commons 7.3
Define application features from the specific context.
Hierarchy
- class \FeatureContext extends \Drupal\DrupalExtension\Context\RawDrupalContext implements \Behat\Behat\Context\SnippetAcceptingContext
Expanded class hierarchy of FeatureContext
1 string reference to 'FeatureContext'
- behat.common.yml in tests/
behat.common.yml - tests/behat.common.yml
File
- tests/
features/ bootstrap/ FeatureContext.php, line 13 - The main Behat context.
View source
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
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeatureContext:: |
public | function | Initializes context. Every scenario gets its own context object. |