silverstripe-framework/tests/behat
Sam Minnee 07396e4437 NEW: Move Travis behat test to run locally.
This shifts the behat test run to be triggered form composer activity
within the framework module directly,

 * silverstripe/serve is used to provide a webserver, based on the
   php -S command
 * se/selenium-server-standalone is used to install selenium rather than
   a download command

Because we’re using serve, the behat configuration can be locked down.

Further refinements could be made on this:

 * the behat-extension could be responsible for installing and
   starting/stopping selenium, making these tests more portable
 * xvfb initialisation could be provided with another bin tool in the
   begat-extension: vendor/bin/xvfb 1024x768
 * The bootstrap-file argument to serve could be provided as part of a
   composer.json setting. This would make it easier for developers to
   start a dev server simply by running vendor/bin/serve
 * the behat-extension could be responsible for installing and
   starting/stopping silverstripe/serve, removing the need for
   specifying base_url at all, and possibly utilising the same bootstrap
   file between serve and behat.
2016-09-17 15:40:37 +12:00
..
features API Namespace all classes 2016-09-08 10:23:17 +12:00
_manifest_exclude NEW Support for Behat tests, and initial set of tests 2012-11-16 15:31:55 +13:00
config.yml NEW: Move Travis behat test to run locally. 2016-09-17 15:40:37 +12:00
README.md NEW Support for Behat tests, and initial set of tests 2012-11-16 15:31:55 +13:00
serve-bootstrap.php NEW: Move Travis behat test to run locally. 2016-09-17 15:40:37 +12:00