iripvanwinkle / codeception-migration
This package is abandoned and no longer maintained.
No replacement package was suggested.
The migration extension for Codeception with Yii2.
Package info
github.com/iRipVanWinkle/codeception-migration
Type:extension
pkg:composer/iripvanwinkle/codeception-migration
v1.1.0
2017-09-08 10:58 UTC
Requires
- codeception/codeception: ^2.2.5
This package is not auto-updated.
Last update: 2026-03-01 04:35:35 UTC
README
Install
Via Composer
$ composer require iripvanwinkle/codeception-migration
Config
configFilerequired - the path to the application config file. File should be configured for test environment and return configuration array.migrationPath- the path to your migrations folder. May use yii2 alias.migrationNamespaces- list of namespaces containing the migration classes. May corresponds with the autoloading conventions of Yii.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.