Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Behat And Mink Installation In Win 7

$
0
0
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:
  • 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.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>