2014-12-10 3 views
2

내 laravel 프로젝트에 대한 behat + mink 설정에 많은 문제가 있습니다.Behat/mink/laravel에서 누락 된 확장

오류 메시지 :

PHP Deprecated: The ability to pass file names to Yaml::parse() was deprecated in 2.7 
and will be removed in 3.0. Please, pass the contents of the file instead. in 
home/user/projects/php/projectname/vendor/symfony/yaml/Symfony/Component/Yaml/Yaml.php 
on line 58 

[Behat\Testwork\ServiceContainer\Exception\ExtensionInitializationException]  
`Behat\MinkExtensions\Extension` extension file or class could not be located. 

내 composer.json : (프로젝트의 루트에있는)

"require": { 
    "laravel/framework": "4.2.*", 
    "behat/behat": "~3.0.6", 
    "behat/mink": "1.6.*",             
    "behat/mink-goutte-driver": "*", 
    "behat/mink-selenium-driver": "*", 
    "behat/mink-selenium2-driver": "*", 
    "behat/mink-sahi-driver": "*", 
    "behat/mink-zombie-driver": "*" 

내 behat.yml 나는했습니다

default: 
    extensions: 
     Behat\MinkExtensions\Extension: 
      goutte: ~ 

다른 버전을 시도했지만 여전히 오류 메시지입니다.

./vendor/bin/behat --init 
./vendor/bin/behat 

그러나 같은 MSG를 생산 : 나는 실행했습니다

명령입니다. 위의 읽기

+0

공식 Behat 버그 추적기에 신고하면 어떻게 될까요? – zerkms

+0

그냥 그렇게했습니다. 그러나 내가 놓친 뭔가가 있기를 바랬다. – Prezioso

답변