2014-01-12 45 views
3

我正在使用我的yml文件的绝对路径...是不是正确的文件,我应该提供一个路径?我已经验证了我使用的路径是正确的...生成测试时无法找到配置文件

$ vendor/bin/codecept generate:cept -config="~/path/to/codeception.yml" acceptance createUser 

    [Codeception\Exception\Configuration] 
    Configuration file could not be found 

generate:cept [-c|--config[="..."]] suite test 

回答

7

我不确定是什么问题,我一定会弄坏一些东西。但使用vendor/bin/codecept bootstrap重建我的代码设置解决了这个问题。

相关问题