I\'m trying to get into using codeception for my acceptance testing.
I have the following for one of my tests:
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
.