You are here

public function FeatureContext::__construct in Bear 7

Same name and namespace in other branches
  1. 8.2 tests/features/bootstrap/FeatureContext.php \FeatureContext::__construct()
  2. 8 tests/features/bootstrap/FeatureContext.php \FeatureContext::__construct()
  3. 7.2 tests/features/bootstrap/FeatureContext.php \FeatureContext::__construct()

Initializes context.

Every scenario gets its own context instance. You can also pass arbitrary arguments to the context constructor through behat.yml.

File

tests/features/bootstrap/FeatureContext.php, line 41

Class

FeatureContext
Defines application features from the specific context.

Code

public function __construct() {

  #$this->localConf = $this->getConfig();
}