File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1010[ ![ static analysis] ( https://github.com/vjik/codeception-db-populator/workflows/static%20analysis/badge.svg )] ( https://github.com/vjik/codeception-db-populator/actions?query=workflow%3A%22static+analysis%22 )
1111[ ![ License] ( https://poser.pugx.org/vjik/codeception-db-populator/license )] ( /LICENSE )
1212
13- [ Codeception] ( https://codeception.com/ ) DB module addon for handy populate database.
14- Load only the tables and data that are needed for the current test. This will allow you to create and run tests faster.
13+ [ Codeception] ( https://codeception.com/ ) DB module addon that helps you to tune database populations.
14+ So for a test you could load only needed tables or rows. As a result it dramatically reduces the total execution time.
1515
1616## Requirements
1717
@@ -28,7 +28,7 @@ composer require vjik/codeception-db-populator --dev --prefer-dist
2828```
2929## General usage
3030
31- Enable in suite module ` Db ` and ` DatabasePopulator ` addon:
31+ Enable module ` Db ` and ` DatabasePopulator ` addon in the suite :
3232
3333``` yml
3434modules :
@@ -43,9 +43,9 @@ modules:
4343` ` `
4444
4545Create SQL dumps that contains a record of the table structure and/or the data for use in tests.
46- Put dumps to specified in options path (for example, ` tests/_data/dumps`).
46+ Put dumps into path, specified in options (for example, ` tests/_data/dumps`).
4747
48- Create row sets for populate database tables. Row sets is PHP file that returned array in format `table => rows`.
48+ Create row sets for populate database tables. Row sets is PHP file that return array in format `table => rows`.
4949For example :
5050
5151` ` ` php
@@ -76,7 +76,7 @@ return [
7676];
7777` ` `
7878
79- You can get such a file structure :
79+ You can get structure, similar to this :
8080
8181` ` `
8282tests/
You can’t perform that action at this time.
0 commit comments