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:
The point is that behat and mink are apparently being installed fine, but:
It seems that behat does not find mink extension, but I can not find out how to force it to do this.
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:
- OS: Windows 7 Professional 64 bit
- Apache server 2.2.14 (win32)
- PHP 5.4.9
The point is that behat and mink are apparently being installed fine, but:
- 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
It seems that behat does not find mink extension, but I can not find out how to force it to do this.