Vagrant, Codeception & Laravel issue. NotFoundHttpException

前端 未结 3 536
北恋
北恋 2021-01-28 03:32

I\'m trying to get into using codeception for my acceptance testing.

I have the following for one of my tests:



        
3条回答
  •  别那么骄傲
    2021-01-28 04:24

    You don't even have to change your start.php. You can set the environment for codecption in the laravel4 Module config. So in your acceptance.suite.yml it will look like this:

    modules: enabled: [PhpBrowser, WebHelper, Laravel4] config: Laravel4: environment : 'codeception' filters : true

    Now, when you execute php codecept run acceptance in your terminal, the Laravel4 Module will use the configuration files from app/config/codeception.

提交回复
热议问题