alexandresalome / behat-launcher

Launch Behat tests from your browser
MIT License
63 stars 7 forks source link

Configuration: operations to execute before launching a test #7

Closed mnapoli closed 2 years ago

mnapoli commented 10 years ago

That would be useful if we could configure some operations to run before the tests, like pulling the git repository, generating the test database (i.e. run a shell script).

alexandresalome commented 10 years ago

It's very difficult here to state if it should be executed before each unit or before the test suite.

Additional examples:

We might add custom commands to project:

 $project
     ->addCommand('Reset', './reset.sh')
     ->addCommand('Composer install', 'composer install')
 ;

This would create buttons on project list.