dev-master
9999999-devCodeception extension for running Yii2 migrations.
BSD-3-Clause
The Requires
- codeception/codeception ^2
- php ^7
by David J Eddy
extension yii2 codeception
Codeception extension for running Yii2 migrations.
Codeception extension that will run Yii2 migration commands and provide the output as a dump file. This is typically then
picked up by the Codeception Db extension and loaded before each test is executed. The migration output, however, is only
runs during the codeception build
execution., (*1)
~Add Sensiolabs quality here~, (*3)
PHP 5.6+, (*4)
Composer, (*5)
Codeception 2.3+, (*6)
Usage of Codeception's Database module, (*7)
Important: You must have creditials for a user with permission to create a database schema., (*8)
cd {project root}
composer require davidjeddy/codecept-yii2-migration-runner
in terminal
"davidjeddy/codecept-yii2-migration-runner": "dev-master@dev"
to your project's composer.json
, then run composer update
.Edit codeception.yml adding the migration commands, (*9)
{TEST_DB_SCHEMA}-remigrate
.Codeception extension for running Yii2 migrations.
BSD-3-Clause
extension yii2 codeception