Via Composer
$ composer require iripvanwinkle/codeception-migration
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.
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)>
The MIT License (MIT). Please see License File for more information.