mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
07396e4437
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. |
||
---|---|---|
.. | ||
api | ||
assets | ||
behat | ||
cache | ||
control | ||
core | ||
css/forms | ||
dev | ||
filesystem | ||
forms | ||
i18n | ||
injector | ||
integration | ||
javascript/forms | ||
model | ||
parsers | ||
phpcs | ||
search | ||
security | ||
templates | ||
testing | ||
view | ||
bootstrap.php | ||
FakeController.php | ||
MemoryLimitTest.php | ||
phpcs_runner.php | ||
PhpSyntaxTest.php |