Skip to content

webnazakazku/mango-tester-nettrine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nettrine Migrations and Fixtures for Mango Tester

Install:

composer require webnazakazku/mango-tester-nettrine

Usage

tests/config/tests.neon

extensionns:
    console: Contributte\Console\DI\ConsoleExtension(%consoleMode%)
    migrations: Nettrine\Migrations\DI\MigrationsExtension
    fixtures: Nettrine\Fixtures\DI\FixturesExtension

migrations:
    directory: %appDir%/../migrations

fixtures:
    paths:
      - %appDir%/Model/Fixtures

mango.tester.databaseCreator:
    driver: mysql
    dbal: Webnazakazku\Tester\DatabaseCreator\Drivers\MySqlNettrineMigrationsDbalAdapter
    migrations: Webnazakazku\Tester\DatabaseCreator\Drivers\NettrineMigrationsDriver
    strategy: reset