Skip to content

thyseus/codeception-migration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The migration extension for Codeception (Yii2)

GitHub license Yii2 Codeception

Install

Via Composer

$ composer require iripvanwinkle/codeception-migration

Config

  • configFile required - the path to the application config file. File should be configured for test environment and return configuration array.
  • migrationPath required - the path to your migrations folder. May use yii2 alias.
  • entryUrl - initial application url (default: http://localhost/index-test.php).
  • entryScript - front script title (like: index-test.php). If not set - taken from entryUrl.

Usage

You can use this extension by setting params in your codeception.yml:

  extensions:
      enabled:
          - Codeception\Extension\Migration
      config:
          Codeception\Extension\Migration:
              configFile: <path to the application config file>
              migrationPath: <path to your migrations (may use yii2 alias)>

License

The MIT License (MIT). Please see License File for more information.

About

The migration extension for Codeception with Yii2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%