CakePHP Fixtures plugin to read fixtures and creating tables with data from tests.
composer require lubos/cakephp-fixtures
Load plugin in bootstrap.php file
bin/cake plugin load Fixtures
run bin/cake
to see shells and its options
Example:
bin/cake fixtures createTable "\Cake\Test\Fixture\ArticlesFixture"
bin/cake fixtures insert "\Cake\Test\Fixture\ArticlesFixture"
For bugs and feature requests, please use the issues section of this repository.
If you want to help, pull requests are welcome.
Please follow few rules:
- Fork & clone
- Code bugfix or feature
- Follow CakePHP coding standards
- Unit tests