2017 © Pedro Peláez
 

library codeception-yii2-migration-runner

Codeception extension for running Yii2 migrations.

image

davidjeddy/codeception-yii2-migration-runner

Codeception extension for running Yii2 migrations.

  • Tuesday, July 11, 2017
  • by davidjeddy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 / Codeception Migration Runner

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)

BADGES

Lahello Stable Version Total Downloads Lahello Unstable Version License Monthly Downloads Daily Downloads composer.lock, (*2)

~Add Sensiolabs quality here~, (*3)

REQUIREMENTS

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)

INSTALLATION

  • cd {project root}
  • Run composer require davidjeddy/codecept-yii2-migration-runner in terminal
    • OR add "davidjeddy/codecept-yii2-migration-runner": "dev-master@dev" to your project's composer.json, then run composer update.

CONFIGURATION

Edit codeception.yml adding the migration commands, (*9)

USAGE

  • Recreate a database scheme named {TEST_DB_SCHEMA}-remigrate.
  • Execute the Codeception build command.
  • Run Codeception test suite.

The Versions

11/07 2017

dev-master

9999999-dev

Codeception extension for running Yii2 migrations.

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 codeception