Hello to everybody,
it’s fourth day that I’ve been struggling with installing behat and mink extension. But so far I have not succeeded. I’m asking myself if it is possible at all?
I tried PHAR installation, then COMPOSER. With no success.
My setup is:
[list=0]
[*]OS: Windows 7 Professional 64 bit
[*]Apache server 2.2.14 (win32)
[*]PHP 5.4.9
[/list]
The point is that behat and mink are apparently being installed fine, but:
[list=1]
[*]the first suspicion that comes in mind is the absence of predefined steps available in behat (no matter whether I initialize behat with
behat --init
or not).
[*] as a consequence, whatever command I use in FeatureContext.php, for example
public function iAmOnTheHomepage()
{
$this->visit('/');
}
I get
php.exe : PHP Fatal error: Call to undefined method FeatureContext::visit() in
xxx\protected\tests\features\bootstrap\FeatureContext.php on line 63
[/list]
It seems that behat does not find mink extension, but I can not find out how to force it to do this.