You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugs or feature requests can be posted online on the GitHub issues section of the project.
6
+
7
+
Few rules to ease code reviews and merges:
8
+
9
+
- You MUST follow the [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/) and [PSR-4](http://www.php-fig.org/psr/psr-4/) coding standards.
10
+
- You MUST run the test suite.
11
+
- You MUST write (or update) unit tests when bugs are fixed or features are added.
12
+
- You SHOULD write documentation.
13
+
14
+
We use [Git-Flow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) to automate our git branching workflow.
15
+
16
+
To contribute use [Pull Requests](https://help.github.com/articles/using-pull-requests), please, write commit messages that make sense, and rebase your branch before submitting your PR.
17
+
18
+
May be asked to squash your commits too. This is used to "clean" your Pull Request before merging it, avoiding commits such as fix tests, fix 2, fix 3, etc.
Otherwise, replace this comment by the description of your issue.
12
+
13
+
Please consider the following requirements
14
+
* You MUST never send security issues here. If you think that your issue is a security one then contact Spomky in private at https://gitter.im/Spomky/
15
+
* You should not post many lines of source code or console logs. Small inputs (approx 5 lines) are acceptable otherwize you should use a third party service (e.g. Pastebin, Chop...).
@@ -38,49 +38,66 @@ When **lifetime** is set to "feature" (or unspecified), data fixtures are reload
38
38
when **lifetime** is set to "scenario", data fixtures are reloaded between scenarios (i.e., increased
39
39
test isolation at the expense of increased run time).
40
40
41
-
When **autoload** is true, the DoctrineDataFixtures extension will load the data fixtures for all
42
-
registered bundles (similar to `app/console doctrine:fixtures:load`).
41
+
When **autoload** is true, the extension will load the data fixtures for registered bundles.
42
+
Please note that only fixtures stored in the folder `/DataFixtures/ORM` of the bundles are loaded.
43
+
If you want to load fixtures tagged with `doctrine.fixture.orm`, you must enable the bundle `BehatExtension\DoctrineDataFixturesExtension\Bundle\BehatDoctrineDataFixturesExtensionBundle`
44
+
in your test `AppKernel` class.
43
45
44
-
When **fixtures** is set and **autoload** is false, the DoctrineDataFixtures
45
-
extension will load the specified fixture classes.
46
+
When **fixtures** is set, the DoctrineDataFixtures extension will load the specified fixture classes.
46
47
47
-
When **directories** is set and **autoload** is false, the DoctrineDataFixtures
48
-
extension will load the data fixtures globed from the respective directories.
48
+
When **directories** is set, the DoctrineDataFixtures extension will load the data fixtures globed from the respective directories.
When using the SqlLiteDriver, the .db file is cached to speed up reloading. You should periodically clear the cache as it does not detect changes to the data fixture contents because the hash is based on the collection of data fixture class names.
68
+
To speed up the tests, a backup system is available. The whole database will be set in cache and reloaded when needed.
69
+
You should periodically clear the cache as it does not detect changes to the data fixture contents because the hash is based on the collection of data fixture class names.
70
+
71
+
This feature is only available for the following SGDB: SQLite, MySQL, PostgreSQL.
72
+
73
+
It is enabled by default. To disable it, you just have to set `use_backup: false` in the extension configuration:
0 commit comments