Skip to content

Commit b4e680a

Browse files
committed
Improve readme
1 parent 91c6833 commit b4e680a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
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
3434
modules:
@@ -43,9 +43,9 @@ modules:
4343
```
4444
4545
Create 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`.
4949
For 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
```
8282
tests/

0 commit comments

Comments
 (0)