mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-09-28 20:29:36 +02:00
d61760ddc6
This change is designed to be merged in at the same time as the matching testsession PR (silverstripe-labs/silverstripe-testsession#7) is merged in, as it relies on changes introduced in that PR to function. This updates the behat-extension to use the new file-based capabilities of the testsession module. Instead of creating a temp database, it will create an entire testsession in the initializer, and then continue on as per normal. When Behat runs end, the cleanup code will completely remove the testsession state, instead of just removing the temp database. This may mean in the future that you can hook into the TestSessionEnvironment via extensions, and connect to other test services during a testsession, then cleanup after yourself on ending a test session. API CHANGES: - Remove SilverStripeAwareInitializer::initializeTempDb() - Remove SilverStripeAwareInitializer::deleteTempDb() |
||
---|---|---|
.. | ||
BehatExtension |